I have a website that used to use php "standard" addresses, such as index.php?id=10
.
Now I've configured mod_rewrite
to have better URLs, therefore i added the rule
RewriteRule ^/([0-9]+)/?$ /index.php?id=$1 [QSA]
Consequently, every time someone surfs to /10
he or she will be redirect to index.php?id=10
.
As the redirect is identical to the old address, Google continues to give as results the old php
-style URLs, and some results are now duplicated when you perform a search in Google.
I subscribed to Google Webmaster Tools and added a sitemap for the website, leaving only the rewrite
-style addresses, but after more than two months the old URLs still appear. Is there a way to remove them from Google?
Thanks a lot!