SEO - Stop double content from being indexed with pretty URLS

Permalink
I am not sure if anyone has come across this before, but I have pretty URLS running on my site, and there is only one page where index.php is used, and that is in my custom search page.

The issue I seem to have created is that there are 2 pages indexed by the search engines for the same content, the pretty URL and the index.php version.

Can anyone think of a reliable way that I can stop the index.php ones from being indexed without adversely effecting the pretty URLS?

davidofadelaide
 
mnakalay replied on at Permalink Reply
mnakalay
Did you add the pretty url code to your htaccess file? That is meant to redirect all index.php traffic to the non-index.php version of the url. With that in place search engine bots should only see the proper one.
You might also want to check what's in your sitemap, maybe regenerate it if needed?