Hardcode Link with pretty URL's
Permalink
HI,
I'm trying to hardcode a link on a page type template like this:
it works fine but includes the index.php/ in the URL, I have pretty URL's enabled and it's working fine through all the site...
How do I hardcode the link so that it removes the index.php from the URL?
Thanks
I'm trying to hardcode a link on a page type template like this:
<a href="<?php echo View::url('/path-to-page'); ?>">My Page</a>
it works fine but includes the index.php/ in the URL, I have pretty URL's enabled and it's working fine through all the site...
How do I hardcode the link so that it removes the index.php from the URL?
Thanks
http://www.concrete5.org/community/forums/customizing_c5/hardcoding...
Thanks