Most of the time, a blogger when starts with a self-hosted WordPress blog, he forgets about changing WordPress permalinks. And at the later stage, to change WordPress permalink, we have to do many things to make sure permalink change is 301 redirection.
WordPress is search engine friendly Blogging platform but when it comes to the permalink, default permalink is ugly and doesn’t add value to overall blog SEO.
- For example wpsutra.com/?p=123 (Default and Ugly)
- wpsutra.com/free-wordpress-blog-set-up (Pretty and SEO friendly)
Needless to say, a search engine friendly permalink will be helpful to increase your search engine traffic. If you just installed WordPress, you can simply change your WordPress permalink to anything:
and many more combinations. Though I prefer the first one as it helps in faster loading of your blog and if you are running a news site and wish to get featured on Google News, permalink with numbers is mandatory. and Now the problem is if you are running a WordPress blog and you change permalink now, your old posts will give 404 errors.
Though WordPress handles the permalink rewrite internally but due to permission issues, you won’t be able to change it directly and here is a quick Workaround that worked for me and I successfully changed the permalink of my iPhone blog from /%postname%/ to /%post_id%/%postname%/.
One of the oldest way to change your WordPress permalink in search engine friendly manner is by using Dean’s permalink migration plugin, but when I tried this plugin today, it didn’t work for me, and I realize the plugin has not been updated from long.
So here is an alternative and basic method that you can use to change WordPress permalink without 404 errors and most important it will search engine friendly.
How to change WordPress Permalink Structure:
Login to your FTP account and change the permission of the .htaccess file to 777.
Go to Settings > Permalink under WordPress dashboard and change your permalink to custom permalink and enter your desired permalink structure. More on SEO friendly WordPress permalink structure on another post, but you can quickly grab more info on WordPress permalink from official page
Click on update and open any link from the search engine. You can search using site:domain.com in Google and open link and see if it’s getting redirected to new permalink structure or giving 404 error.
In most of the client site which I worked, this method worked to make search engine friendly permalink migration. Now change your .htaccess file permission back to 644.
How to check if Permalink redirection is 301 redirection:
This is the most obvious question you might be having after making changed into your permalink. Go to any of these sites and insert the link with the old permalink and it will show you if the redirection is 301 (search engine friendly) or not.
Here is a screenshot of my redirection and you can quickly check it’s a 301 redirection:
That’s it and now take care of normal on page SEO and keep reading WPSutra for more such useful WordPress SEO tips.
If you face any problem while changing WordPress permalink, feel free to ask questions via comments.