How to create SEO friendly URLs by changing permalink settings in Wordpress 3.3
While doing search engine optimization for your website, it is important to ensure that the title and URL of webpages contain relevant important keywords which have been used in content. If your article has clean and user friendly URL, then it increases the chance of your webpage to appear at top in search results. By default, the URLs generated by WordPress are not SEO friendly and appear like this:
Here, I will show you how to change this permalink setting and automatically create SEO friendly URLs by configuring WordPress. Follow the steps listed below:
- Log in to your WordPress Dashboard.
- Then from the left sidebar, go to Settings -> Permalinks.
- Next, you will be taken to Permalink Settings page.
- As you can see in the above screenshot, WordPress provides us with some pre-defined permalink structures. We can either use one of them or define a custom permalink structure. Here, we will define a permalink structure. In order to define custom structure we can make use of the following structure tags:
Structure Tag Name Description %author% The author of the post %category% The category of the post %day% The day the post was published, for example 15 for the fifteenth day of the month %hour% The hour the post was published %minute% The minute the post was published %monthnum% The month the post was published, for example 02 for February %post_id% The post ID, for example, 2 %postname% The name of the post %second% The second the post was published %tag% The tag field %year% The year the post was published, for example, 2012
- As an example, let us define our custom structure as /%author%/%postname%/, as shown below:
- Click on Save Changes.
- That's it! Now, if you go and check URL of any post it will be displayed based on new permalink structure. A sample is shown below: