Follow Me on Twitter!

Some may have noticed but they do not know how to do it. Or maybe they don’t bother enough with it.

By default, in Wordpress, your post urls will be displayed by using it’s post id. But with permalinks, you can beautify your urls with something more meaningable. Instead by using post id number like this,

http://www.cypherhackz.net/?p=592

you can change it to something like this

http://www.cypherhackz.net/archives/2007/03/25/beautify-your-urls-with-permalinks/

But how do I do that? Here I will show you how.

  1. First, go to your Options and click on Permalinks tab
  2. There, you will see, 4 common options that you can choose from. And of course, by default, the Default option is selected
  3. If you want to change your post urls to like mine, you can use this structure under Custom option.

    /archives/%year%/%monthnum%/%day%/%postname%/

  4. Then, click Update Permalink Structure

Actually, what that structure do is, the url will be transformed into according the structure tags we use.

/archives – this will be your archives folder (virtually)
%year% – the year of the post been published. Eg: 2007
%month% – the month of the post been published. Eg: 03
%day% – the day of the post been published. Eg: 25
%postname% – the post title. Eg: beautify-your-urls-with-permalinks

There are more structure tags that you can choose from. All of the structure tags can be found at Wordpress Codex – Using Permalinks.

Btw, do you mind to share your permalink structure with us? You can do that by post it by using the comment form below.[tags]permalinks, tutorial, tips[/tags]

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Subscribe me feed! If you enjoyed this article, get latest updates via RSS feed or by email.

44 Responses to “Beautify your URLs with Permalinks”

  1. aman
    March 25th, 2007 | 8:35 pm | Reply

    nie salah satu teknik SEO kan? :)

  2. CypherHackz
    March 25th, 2007 | 8:45 pm | Reply

    aah. salah satu teknik SEO.

  3. aad_lfcfn
    March 25th, 2007 | 11:42 pm | Reply

    for the ease of blog’s restructuring, i think
    %month%/%postname% should be suitable. (johnchow use %postname% only though)

  4. Madhur Kapoor
    March 26th, 2007 | 11:42 pm | Reply

    Initially when i started blogging , i was also not aware of it , but now i use similar to yours .

  5. CypherHackz
    March 27th, 2007 | 10:16 am | Reply

    [Comment ID #32960 Will Be Quoted Here]

    by using my structure, your readers can surf your archive easier. if s/he want to go to archive Mac 2006, they just enter /archives/2006/03/ in the url.

    [Comment ID #33318 Will Be Quoted Here]

    me too. but using this permalinks is much more efective when it comes to SEO

  6. Coco
    March 31st, 2007 | 12:45 am | Reply

    Well you could do this: /%year%/%monthnum%/%day%/%postname%.html Just adding .html
    Note that this does not generate actual .html files. It is only an illusion. There is no benefit to this… some people mistakenly think it offers search engine benefits, and some want their permalinks to emulate those of another publishing system. Its cleaner.

  7. Julian
    April 2nd, 2007 | 12:18 pm | Reply

    I just posted a similar article in Spanish language. Please follow this link:
    http://weblatam.com/wp/wordpre.....ly-url/37/

  8. Coco
    April 4th, 2007 | 5:30 am | Reply

    you can also add .html to make it seem like a html file. just like this /archives/%monthnum%/%day%/%postname%/.html
    its an illusion but its:) more on http://www.kabatology.com

  9. shearyadi
    November 29th, 2007 | 9:57 am | Reply

    Tolong saya dong….gimana caranya supaya blog saya bisa pakai permalinks, soalnya hostingnya pake shared windows server :(

  10. CypherHackz
    November 29th, 2007 | 10:13 am | Reply

    I am not sure whether this will work or not but this entry might helps you to use the permalinks.

  11. Drew Johnston
    December 2nd, 2007 | 12:24 pm | Reply

    I have found out that netfirms does not have the mod_rewrite module installed on their server, which stops us designers from having the "Pretty Permalinks" all I can get to work correctly are those ugly permalinks! BEWARE!

  12. noexyoga
    February 24th, 2008 | 2:18 pm | Reply

    mo nanya nie pa bisa pake extensi html pada permalinks nya
    cos saya pernah nyoba tapi extensinya ngk keliatan tue

    contohnya saya pakai gini /archives/%year%/%monthnum%/%day%/%postname%.html

  13. Mike
    March 30th, 2008 | 11:22 pm | Reply

    Page can’t be found when i use any other permlink then the one with the parameter. What am i doing wrong? Or can i be the server doing something wrong?

  14. CypherHackz
    March 30th, 2008 | 11:30 pm | Reply

    Ofcourse your pages will cannot be displayed if you change the permalinks structure. But there is a plugin that will redirect old links to the new link structure. :)

  15. Future Pakistan
    April 18th, 2008 | 9:41 pm | Reply

    Thanks for your nice article on the topic of permalinks and provided and simple customized way. Before reading the article, I don’t have right idea of the term even that what is permalinks and why we shoud use it in the search engince optimization.

    Now I have tried it and soon tell you that what kind of benefit I got by using it according to your instructions.

    Best Regards
    Future Pakistan

  16. CypherHackz
    April 19th, 2008 | 9:49 am | Reply

    No problem. Thanks for visiting my site. :D

  17. Francis Davey
    April 21st, 2008 | 6:42 am | Reply

    I’m baffled how to do permalinks with subpages. All the documentation is *really* unhelpful since it talks about permalink structures with posts. Fine, but my site has some pages on it too and there doesn’t appear to be any docs about that.

    Francis

    • Michael Brogan
      March 19th, 2010 | 9:36 pm | Reply

      The documentation is very unclear on this but using postname on static pages means your page title will be appended to the url

      http:/www.yoursite.com/post-name

      would give http://www.yoursite.com/page-title as the url

      You set this up by going to permalink settings on one of your pages and setting up a custom structure.

  18. 350D
    May 31st, 2008 | 6:07 pm | Reply

    I user this permalinks tag : /%category%/%postname%.html

  19. Arya Dewa
    June 10th, 2008 | 5:10 am | Reply

    I’ve just start created a blog using a very amazing theme called Lightbreaker, and now get idea to optimize it. A good idea for using a beautiful permalinks such your article. Thank you

    Please check my blog : http://pesonafm.co.nr/

  20. Friot
    August 31st, 2008 | 4:19 pm | Reply

    In principle I agree, but there are some nyuansy, which require more detailed discussions.

  21. promokat
    September 15th, 2008 | 9:49 am | Reply

    It was very useful

  22. www.ferl.ru
    September 16th, 2008 | 1:32 am | Reply

    Thank you!

  23. teng_
    September 17th, 2008 | 6:40 pm | Reply

    hye all…….

  24. Raymond
    October 18th, 2008 | 1:36 am | Reply

    Thank you very much!! Very helpful and made something that seemed difficult, quite simple.

    under custom urls i just added /%postname%/ and now all my pages have pretty urls.

    Still working on it and is my first site but feel free to check it out onlinedatabackupandstorage.com

  25. Gusto
    October 22nd, 2008 | 7:54 pm | Reply

    Permalinks is a great way to make the URL search engine friendly and more readable to yourself, others and search engines also.

  26. Cla
    January 9th, 2009 | 4:37 am | Reply

    Hi there
    I’m a blog newbie, so before breaking anyhting I just wanted to ask: If I simply change the permalink type on my wp-dashboard will that be it? (In the wp-codex (http://codex.wordpress.org/Using_Permalinks) there’s a whole lot of stuff I don’t understand. So I don’t know if I have to take any precautions.) What happens to my old posts and pages? I suppose their links change as well so that links pointing to them will lead nowhere, right?
    Thanks for any help!

  27. honey
    February 4th, 2009 | 9:38 pm | Reply

    caner yer nak tukar postname?boleh ker?

  28. нeвecтa
    May 31st, 2009 | 7:01 pm | Reply

    Хм, к размышлению… :)

  29. Dan Legal
    June 28th, 2009 | 6:38 am | Reply

    Great post – I’ve used what you said here on my website.

    Cheers,
    Dan

  30. Mohamed El-Metwaly
    August 13th, 2009 | 4:37 am | Reply

    very very good
    i hope more………

  31. Julian
    August 24th, 2009 | 11:32 am | Reply

    Yes, very good. We are using it on our FPPT.info site with powerpoint templates. Works fantastic.

  32. sandrar
    September 10th, 2009 | 8:56 pm | Reply

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

  33. angelina jolie
    September 11th, 2009 | 12:13 am | Reply

    I love your site. :) Love design!!! I just came across your blog and wanted to say that I

  34. David Webster
    November 11th, 2009 | 10:36 pm | Reply

    Putting category and tags in permalinks is asking to get hammered for duplicate content when spiders go to the tags index and follow it and then to the category index and follow it. You end up with multiple links to the same destination. I have simply started using only the post title. In addition I set the archives, categories and tags to “no index” and to make sure have a cananical link listed in the header. There are plugins to do all those things easily.

  35. doonung
    January 14th, 2010 | 11:58 am | Reply

    my movie web can’t not can you help me.

  36. Mike
    January 24th, 2010 | 6:44 pm | Reply

    Cool, good article, just the info I was looking for. Will have a go changing this on my site now. Thanks.

  37. naynotes
    March 11th, 2010 | 4:16 am | Reply

    Cool Link

  38. Dhruv
    April 22nd, 2010 | 3:06 am | Reply

    Cool,
    I wanted to know how to replace the default /search/ with /what-ever/

    Thanks,
    -DP

Leave a Reply