How to Change Wordpress Permalinks without affecting Google

Wordpress Permalinks, first key to make your site SEO friendly. But wordpress by default uses the permalinks structures such as

1
/%year%/%monthnum%/%day%/%postname%/

and this is not really a good idea cause it will return your topics url which will look like this below

1
http://www.abc.com/2008/07/31/your-post-slug/

And say for the instance you’ve already has a handful of topics that has been posted for a while and google has indexed it. So now you want to change your Wordpress Permalinks to a much more friendly url settings such as

1
http://www.abc.com/your-post-slug/

Yes you can easily upgrade your structure from WordPress Admin options but all the links indexed by google wont be able to land on the proper topics. So how you fix this issue. I’ve done some research on it and found out there is an excellent plugin that does the job seamlessly. It’s written by deanlee.com, it’s called the Permalinks Migration Plugin for wordpress. Just Install as usual and activate it and it will do the rest of the job.

There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It’s called 301 Permanent Redirect which actually helps the search engines to update their index quickly as possible.

In case if you are interested I’ve got an 1 line solution for your .htaccess file. add this line on top of the WordPress specific codes in the .htaccess file. Here is the line, don’t forget to change the domain name/path.

RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9-/]+) http://www.ruhanirabin.com/$1

It must be in one line. Save you .htaccess and you are on the go. Googles old index will still be able to find your content with your new permalink structure.

GD Star Rating
loading...
How to Change Wordpress Permalinks without affecting Google, 9.4 out of 10 based on 5 ratings

About Ruhani Rabin

Ruhani Rabin is the original owner and author of this blog. He also reviews web 2.0 startups at Tech2all.com. Largely interested in web 2.0 apps & Social Media. Currently the Vice President of MOL Access Portal (MOL is owner of Friendster.com). Also he is Web 2.0 & Social Media Researcher and a Total fun Geek!.. There you have it ;)

Twitter Profile: http://twitter.com/ruhanirabin

  • robertoperezmarquez
    Hi, great article, exactly what I was looking for. I am using that plugin right now in www.disneywallpaper.info and let's see if it works.
  • Jay
    Ok what about if your changing the actual website url say you a site www.peachtree.com/blog and you changing it to www.peachtreegifts.com how would you go about that
  • Ruhani,

    Thanks for the info... I have a question about the htaccess file code at the end of your post... can you explain the use in a little more detail?

    Do you mean to use it along with the plugin as a wy to alert search engine to the 301 event?
  • Hi, Either you use the plugin or else you use the code :)
  • Thanks... no offense to the people who wrote the plugin but I would rather use the code (one time - no updates)
  • how to make a wordpress blog permalink looks like this for google news. Can anyone help me?

    http://www.google.com/news/article234.html
  • Nice article. Do you have any solution for the wordpress blogs that are running under IIS?
  • Thanks a million for this. By the way how did you create that red bottom bar?
  • screenshots for permalink change here

    http://techtadka.net/tutorials/web-tutorials/20...
blog comments powered by Disqus