Page 1 of 1

SOLVED - canonical URL - removing index.php

Posted: Wed May 26, 2010 1:38 pm
by hifigeoff
Hi,

I've set up my new site & have pretty URLs working (without index.php as part of the URL) - when I view the page source, I see the following:



Is it possible to remove the index.php from the above line? It occurs to me that even if it's left in, it will do the intended job, but I'd like to remove it for the sake of completeness.

Thanks,

Geoff.

Re: canonical URL - removing index.php

Posted: Wed May 26, 2010 1:56 pm
by henson
Hi Geoff,

I can't say as I have seen this problem myself.  One question?  Have you got "internal" or mod_rewrite" set in your config?

I know the urls used to look like that in the old internal pretty urls (and may still do.. I don't know!)

My two-penneth!!

Cheers

Marc

SOLVED!! - Re: canonical URL - removing index.php

Posted: Wed May 26, 2010 2:00 pm
by hifigeoff
Thanks Marc,

Changed it to mod_rewrite and bingo!!

Geoff.