Hardcode Link with pretty URL's

Permalink
HI,

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

GBNT
 
GBNT replied on at Permalink Best Answer Reply
GBNT