If you have been following through our WordPress tutorials for beginners, I hope you have successfully setup a self-hosted WordPress blog. Now you may want to change the permalink structure of the blog. The permalink structure is by default ugly and non-descriptive for example http://yourdomain.com/?p=123. In this tutorial, we will show you how to change the permalink structure to SEO-friendly and descriptive URL. Read on to know how to do that.
Where to Change Permalink Structure
Log on to your blog and navigate to Settings -> Permalinks. See the following screenshots:
From the 2nd screenshot, you can easily select one of the options to choose the desired permalink. In the custom structure you can define your own permalink. At StartWordPressBlog.com, we use “Post Name” option. Some bloggers use the “Month and Name” structure as well.
In order to change the permalink options, your .htaccess file should be writable. In case it’s not already, you will need a code to manually copy to your .htaccess file to enable the mod_rewrite.
Few Other Options to Customize permalinks
Apart from the predefined options, you can use following options to make your customized structure of permalinks. You can use following tags, in addition to %day%, %monthnum%, %year%, %postname%, and %post_id% — you can use:
%hour% – (1-24) The hour of the time stamp of your post
%minute% – (1-60) The minute of the time stamp of your post
%second% – (1-60) The second of the time stamp of your post
%category% – The category slug
%author% – The author’s name