After setting up your wordpress blog, when you log into dashboard the first thing you do is to change the permalink structure because default (/?p=123)is not SEO friendly and changing it later creates issues but I am going mention few things with which you can change permalinks anytime even of an establish blog without any problem. [I have done for TTW yesterday]
Why To change permalinks establish blog?
The simple answer to this question is Google loves short and simple URLs and even humans like them too. So many slashes (/) in URL are also not good.
Most of the bloggers set /%postname%/ structure which makes the post URL SEO friendly as well as short and simple. Different bloggers choose different structure as per their liking and requirement. I recommend /%postname%/.
Note: If you already have the best Permalinks set then no need to do anything.
When techtricksworld.com was migrated to WordPress self hosted from blogger platform, I was not aware of these stuff. Even the migration was done by one of friend, Durgesh (Thanks To him) but the Permalink was ugly /%year%/%monthnum%/%postname%.html. I never liked it but till then it was too late to change it because it could cause many not found 404 errors.
But as you must have noticed that we are making so many changes on Techtricksworld nowadays, I thought to do something for permalink as well and with this thought I have changed it.
The old URL structure of TTW’s posts was http://www.techtricksworld.com/2013/02/adsense-monetization.html
New URL structure of TTW’s posts : http://www.techtricksworld.com/adsense-monetization/
How to Change the Permalinks of an establish Blog?
Changing the permalink isn’t a big task. It can be changed by going to settings >> Permalinks, select custom and paste /%postname%/ just shown in screenshot:
You can select /sample-post/ alternatively. Both are similar.
Now, the permalink structure has been set to new one but the problem you will notice is, all the internal links or your post links on other blogs goes to a 404 not found page.
You now need to redirect old URL structure to their corresponding new URL. Yoast made it very simple to do it by providing an online tool, WordPress Permalink generator. Open this online tool by clicking the link provided, you will see the interface of the tool as shown in screenshot below:
Paste your blog URL then select the current permalink structure. If your structure is not in the list then select “Custom” (as I did because in my old URL structure, there was .html as well) and then click on Generate Redirect. It will give you a code which you have to paste at the top of .htaccess file.
How to find .htaccess file?
If you are using Yoast SEO plugin then simply go to SEO >> Tools >> Edit files from your blog’s dashboard and there you will find .htaccess. Put the generated redirect code at the above of all code in that file and save it.
If you are not using Yoast then log into your Cpanel, go to file manager and edit .htaccess file then paste the code at the top and save it.
You are done!
What you will lose?
You will lose the social sharing counts from all of your post because social share count is attached with the URLs. When you change the permalink the URLs get changed of all posts but that is a tolerable thing for the sake of better SEO and clean looking post links. You can start sharing your posts one by one and gradually there will be more share counts again.
However, there is no problem with the old links shared already on social sites because when they will be clicked, they will be redirected to new URLs.
You will also loose the page rank of those urls but that is not an issue because in the next PR update they will regain because you have done a 301 redirect which passes all the SEO value to new url.
What you will get?
Short, simple, neat and clean SEO friendly URLs for your blog.
P.S. Similar thing I have done yesterday for TechTricksworld.com and lost all the share counts from all of the posts but it’s alright, I have started sharing the posts again. You will be noticing me sharing a lot of posts for next couple of weeks. 😛
I hope you enjoyed the post. If you really liked it please share on all of your social assets.
Short URL: http://bit.ly/2bDHNnz