Optimizing Permalinks for Better SEO

Chain LinksPermanent Link or Permalink of a page is the unique location of that page on the internet. Permalink of a page is the address of the page shown on the browser’s address bar. Optimizing permalinks gives better SEO because search engines use the keywords on the permalink to classify the page and better classification brings in more quality search visits.

Why is Permalink Optimization important?

See these links:

  • mllionclues.com/?p=21 (a)
  • millionclues.com/?page_id=100 (b)

Now see these links:

  • millionclues.com/tutorials/twitter-quick-start-guide (A)
  • millionclues.com/contact (B)

The first two links does not tell us anything, they are just links. The second set of links gives us a better idea of the target pages. The link marked (A) tell us that it is a tutorial and to be more specific, it is a quick start guide for twitter. Similarly, link (B) tell that the target page contains contact information.

These are the same with the search bots too. A well structured permalink tells the web crawler a lot about the page. This information gives the pages better indexing and better SEO. Moreover, the Google search algorithm gives more importance to the keywords in the permalink. The more keyword match the permalink has with the search query, the higher will be the position of the page on the Search Results Page.

How to Optimize Permalinks on WordPress

Change the Permalink Structure

The default permalink structure looks like the first set of links (a) and (b). Change the default structure to something similar to (A) and (B)

Custom Permalinks In WordPress

Custom Permalinks In WordPress

  • Go to WordPress admin >> Settings >> Permalinks.
  • Under the ‘Custom Settings’ press the ‘Custom Structure’ radio button.
  • The most recommended Permalink Structure is the Home / Category / Post-Title Structure. For that enter the following in the text box in the Custom Structure selection: /%category%/%postname%
  • Save the changes.
  • If you are not satisfied with this Permalink Structure, read the Custom Permalinks Guide from WordPress Codex.

Remove irrelevant words from the permalinks for better Keyword weight

SEO guru’s believe that the keywords in the permalink are weighted based on the number of words in the permalink. The more words the permalink contain, the less will be the keyword weight of each keyword and hence lower will be its relevancy in a search.

Once you have a custom permalink as we did above, your posts will be automatically assigned the permalink from the title of your post. The permalink will be displayed just below the title once you save your post or after an auto save. You can edit the permalinks here. (See image)

Edit Permalinks In WordPress

Edit Permalinks In WordPress

Edit the permalinks and remove any unnecessary connecting words. Keep the Post Title long and Self-Explanatory for the readers and the permalinks short for the Search Engines. But do not stuff the permalinks with keywords alone. Make sure that anyone who reads the permalink gets an idea of what the post is about.

An example: The permalink of this post has been edited as optimize-wordpress-permalinks-seo-friendly. That keeps the permalink short, makes it keyword relevant and keeps it self explanatory.

If you had been using the default permalinks and wish to migrate now, use Dean’s Permalinks Migration Plugin and move safely without losing any back-links or google pagerank.

Update: WordPress says its not recommended to use Category/Post-Name style, but I havent had a problem yet. I have worked on over 200 WordPress websites. If you are concerned, you could just use the following format for the same results:


It will add the post id before the category name and each post will have a unique number in the permalink.

Hello, I am Arun Basil Lal. Thank you for reading!

I am a WordPress product developer and creator of Image Attributes Pro. I am passionate about solving problems and travelling the world.

Divi WordPress Theme - My Review

Divi WordPress Theme
Divi is a WordPress theme that web designers do not want you to know. It comes with a drag-and-drop theme builder. You can build beautiful looking unique websites without touching a line of code. Just choose from one of the many pre-made layouts, or pick elements and arrange them any way you like.

Divi is every WordPress developer's wet dream. Surprise your clients with neat responsive websites and have fun building them.

Divi comes from Elegant Themes. If you enjoy building websites, you *need* an Elegant Themes membership. 87 beautiful themes and 5 plugins for the cost of less than a candy-bar each!

Note: I am an avid user of Divi myself and this is a honest review. I wouldn't recommend something that I do not personally find amazing.


  1. Rishi says:

    I remember using the default permalinks on my old domain. After changing them to “pretty” permalinks, my pages started getting indexed higher on Google/Yahoo within a matter of weeks. This is an important topic that many arising bloggers dismiss, so thanks for bringing it up!

    • Arun says:

      There you go, I have experienced the benefits of a good permalink myslef, This post was no. 3 on Google Search for ‘optimizing permalinks’ just after 30 minutes, now its no. 2!

  2. chethan says:

    Amazing buddy, I never knew of this trick. It will be great to learn how to do it in the blogger platform too

  3. JAGAN says:

    thanks you provide a clear example that why permalinks should be like that and I also come to know about Dean’s Permalinks Migration button.

  4. Amal Roy says:

    That was a really good post. Thanks for the information.

  5. http://thevoiceswith.in says:

    I have a doubt. Supposing I feature the post into 2 or more categories, what will happen to the permalink? In the case of magazine styled templates like Arthemia, this is the case. Please explain.

    • Arun says:

      If you assign multiple categories to a single post, the lowest numbered category (The category with the lowest category id) will be used in the permalink. Read this part of the WordPress Codex for more information.

      Hope that helps, Cheers

  6. Girish says:

    Now “optimizing permalinks” is no 1 in Google.


  7. Nihar says:

    Thanks for the info.

    I thought of switching to the permalink that you mentioned. but didn’t do till now.

    Right now my permalink has month/day/post title. Is this permalink bad when it comes to google SEO?

    • Arun says:

      The inclusion of the day and date is ok when it comes to google, but it will add a time tag to your posts. You dont want your posts to die out after a while..right? Evergreen articles never need the time tag, So i dont use it in here…

      (Google is not the one who tags your posts, people who see the links will think that its outdated, thats all)

  8. Sneha Gupta says:

    Awesome Blog. I am very fresh to read this Blog. I am also interested in latest news…

  9. s.manimaraa says:

    Hi ,I have just updated my Mobile Technology blog’s permalinks after reading your article and downloading permalink migration plugin. It is working fine . I did not lost the old links as those are being redirected automatically. Thanks a lot for the developer and you.

    • Yeah, The plugin is heavily used here too. I recently updated some of my slug names, and the plugin really came to my resque. Thanks for dropping in to leave the comment 🙂

      Good luck with your blog!

  10. MF advisor says:

    Hi…My blog is new. I want to change permalinks of all the post. I CAN AGAIN IMPORT POSTS FROM BLOGSPOT. So i dont mind deleting all posts and again importing them.
    I want to know…will this help me solve the problem. willl new permalinks work after that.

    • Yeah, if you wish to change permalinks of all posts and still keep the old permalinks working, this is THE solution 🙂
      Green signal: Go ahead!

      • MFadvisor says:

        Its not working! I deleted all the posts, categories and tags. Then changed the permalink and wrote a post again. Its showing 404 error.
        I want year/postname permalink. Please tell me how to do it!

  11. Erica Jones says:

    This rocks! thank you so much!

  12. 54chen says:

    Nice article! It’s not a good idea to use the /%category%/%postname%。I use %post_id% at first.

  13. DianJoubert says:

    Ok so did what you said. I changed the parmalinks to custom and copied what you had on the post “/%category%/%postname%” (as I now know, it’s missing a “/”).
    I’ve got a slight problem now. The only screen I get is blank with the wording “Forbidden, perhaps you need to change the file permissions for this document or upload an index page.”

  14. mark says:

    I am using cascading drop down menus for pages on my header. All the drop down menus have a fixed real estate length. I need to make the length longer and do not know how to do this. The theme developer cannot tell me how to do this. Rather than spend hours hacking, does anyone know how to work on pull down menus?

    I am open to changing themes too. I am tired of so much hacking.

  15. Charles Lindup says:

    Hello Arun,

    After spending many wasted hours, trying to get my blog set-up from behind the scenes, it was refreshing to find your advice on permalinks. Amidst the confusion and head-banging frustrations that we are subjected to on the internet as we try to find our ways around, people like you are a blessing in disguise!

    Thank you for your knowledge and expert advice,

    I appreciate it very much.

    Kind regards,

    Charles Peter Lindup

  16. Palie Massa Studio says:

    hi arun… thank for your great info… really appreciate it… i just try it on my blog…

  17. Emma says:

    Hi – i dont think changing the permalink structure works for changing pages.. can anyone help?

  18. nick says:

    Greate……cool plugin…

  19. Ekendra says:

    This is really very very useful plugin, a must have plugin for all WordPress users. Thanks.

  20. Lizzie says:

    ok so i have a site 10 posts were just with the %postname%.. and i want to change those plus the new ones i added to category/postname etc..
    when i upload this plug in does it ask you which posts you want to direct?
    how can i tell which of the new pages are indexed or not. what if i redirect some that are not even indexed yet? great informative article you are bookmarked!

  21. Judah Hirsch says:

    Hi I’ve been trying everything to get my permalinks to be optimized but the won’t change from old structure /?page_id=N to /philippines-business-registration or whatever i want to optimize. I’ve used the dean migrator and changed it in permalinks, but i can’t get anything. Can someone please help.


  22. Thanks for this information! I have a question about your permalink suggestion. What happens if you assign a post to multiple categories (which happens about 50% of the time for me)? How will WP know which category to use? Will this have a negative effect on SEO?

  23. Justyna says:

    Hi Arun,

    great post! I use this permalinks structure and it works excellent. Also the tip about Dean’s migration plugin works like a treat!

    Thanks a lot

  24. SEO says:

    Great ideas.

  25. Peter Jones says:

    Any ideas how to get the .html file extension on the post?

    Also when I add %category% in the posts do not display


  26. shyam jos says:

    kuttappai rocks. thanks

  27. keephealthybody says:


    “/%category%/%postname% /” and “/%postname%/ ”

    Which are better?


  28. sinner says:

    Thank you for the information. I learn a lot from this.

  29. Facebook Tag Picture says:

    Search engine optimization is indeed one of the most important Internet marketing is a perfect bridge between technology and business.

  30. Permalinkku says:

    That permalink structure is realy SEO frindly ! sip deh

  31. Jia Jun says:

    Indeed. With a little tweak on the permalink, we could get many more traffics from search engine like Google. It leads to better SEO.

    Recently I just update my links from “url+year+month+title” to a shorter one = “url+title”.
    I write about personal growth and developments, which is timeless contents, so year and month is not really important here.

    Anyway, I’m happy with the change.

  32. Preston says:

    Great article! I’ve been afraid to change my permalink structure after I messed it up last time. Your article helped me do it successfully. Thanks

  33. yoga says:

    How long each post page to fit with the new permalink?? is there any plugin other than Permalink Migration plugin to move permalink

  34. Germain says:

    all my blogs use to be category/postname, but I was just reading WordPress’ own info about permalinks an they strongly suggest against it. They suggest using numbers (date) first then post, since adding a text slug confuses the blog and takes more time.. something like that.

  35. A.Jesin says:

    But the WordPress Codex says that

    “Starting Permalinks with %category% is strongly not recommended for performance reasons.”

    • It will only be a problem if you have too many pages. I have been using it on over 200 websites and most of my clients over the past 3 years and it has never been a problem. The advantages you have by using it so is much more than the minor performance issues 🙂

  36. Rafael says:

    Can you help me with a redirect? If yes, please, send me e-mail.

    How can I redirect with htacces a structure that were /index.php/%year%/%postname%-%post_id%.html to /%year%/%postname%-%post_id%.html (without index.php).
    Is it possible?

  37. Judd Dunagan says:

    Strange request.

    I have a client who does not want to change their links but wants to move to the WordPress platform.

    My issue is because they rank very high in SEO because of root domains linking back to him, a requirement is they keep the current link structure.


    Is this possible to keep is current links intact so when I create a page like
    http://www.client-site.com/practice-areas/ it will look like the above link.


5 Pings / Trackbacks.

  1. » 35 super useful wordpress plugins that you may ever need says:

    […] Permalink Migration plugin: Permalink structure determines the format of url for individual posts. The structure of your permalink has significant impact on seo. The problem is if you change your permalink structure then old bookmarks and external links will stop working. This plugin solves the problem and allows you to optimize your permalink structure for best seo result. […]

  2. Permalinks Migration Plugin for wordpress : DEAN LEE:/DEV/BLOG says:

    […] permalink structure to what you want. (personally I recommend /%category%/%postname%/, you can read @ArunBasilLal’s tour  to learn more about how to Optimizing Permalinks for Better […]

  3. Permalinks Migration Plugin for wordpress - people-in-china says:

    […] permalink structure to what you want. (personally I recommend /%category%/%postname%/, you can read @ArunBasilLal’s tour  to learn more about how to Optimizing Permalinks for Better […]

  4. […] noch nen Link zu jemandem der sich mit SEO in Verbindung mit Permalinks auseinandergesetzt hat: Permalink Optimization Recommend on Facebook Share on Linkedin Share on mrwong Share via MySpace Share on Orkut share via […]

  5. […] Published: June 2, 2009 WordPress users can easily edit their permalinks and optimize them for the Search […]

Leave a Reply

Your email address will not be published. Required fields are marked *