Identical pages with different URLs

Permalink
Hi,

I have two identical pages on my Concrete site, but they are pointed to by two different URLs. One of the pages has a weird index.php/ inserted in the URL. Can I get rid of this duplicate page somehow?

For example, I havehttp://www.website.com/page1 andwww.www.website.com/index.php/page1....

I'd really like to delete the page version with the index.php in so that I don't get marked down by Google.

Many thanks,

 
Filofox replied on at Permalink Reply
They're not duplicates, they're the same page. Concrete5 uses URL rewriting to 'mask' the fact that index.php actually handles all page requests -- i.e. behind the scenes it takes the website.come/page1 URL and changes it to website.com/index.php/page1 -- using the bit after the index.php to route the request appropriately.

So no, you can't remove it but you can simply ignore it. C5 should automatically use the 'pretty' URL if you've enabled that.
Tony replied on at Permalink Reply
Tony
you can let google know what the correct url is by adding the canonical url <link> tag to your header. setup instructions for concrete is available here:http://inneroptics.net/concrete5_blog/canoncial-urls/...