Re-indexing website with clean URL's

Posted by artsi on Pro Webmasters See other posts from Pro Webmasters or by artsi
Published on 2012-06-01T18:01:42Z Indexed on 2012/06/01 22:51 UTC
Read the original article Hit count: 213

So I have a website with URL's like this:

http://www.domain.com/profile.php?id=151

I've now cleaned them up with mod_rewrite into this:

http://www.domain.com/profile/firstname-lastname/151

I've fetched and re-indexed my website after the change.

What is the best way to make the old dirty ones disappear from search results and keep the clean ones? Is blocking profile.php with robots.txt enough?

© Pro Webmasters or respective owner

Related posts about google-webmaster-tools

Related posts about mod-rewrite