How to Change WordPress Permalinks without affecting Google

Advertisement

WordPress Permalinks, first key to make your site SEO friendly. But wordpress by default uses the permalinks structures such as
/%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
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
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.

Get Free Updates - Weekly

Sign up for the free tips on business and productivity today.
Receive email only when we have new content.

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.

Advertisement

Divi - Huge Savings

RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9-/]+) https://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.

Some of the link on this post may have affiliate links attached. Read the FTC Disclaimer.

15 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
15
0
Would love your thoughts, please comment.x
()
x