Skip to content

November 5, 2008

69

How to Create WordPress Pretty Permalink

How to Create WordPress Pretty Permalink in 3 steps

By default, permalink in self-hosted wordpress is ugly and more important, not SEO friendly. It looks like http://www.fatihsyuhud.com/?p=22. The pretty permalink will look like this: http://www.fatihsyuhud.com/post-name. To transform the ugly one into a pretty permalink you need a little work-out. Fortunately an easy one as follows:

For Wordpess version 2.8 and above

  1. After login -> Settings -> Permalinks
  2. Check Custom Structure -> enter this code at box -> /%postname%/
  3. Click Save Changes. Done. Your post link will look like http://www.fatihsyuhud.com/postname

Other Permalink Options click here
====================
The following tutorial for self-hosted wordpress blog version 2.7 and below. For 2.7 and above see the tutorial above.
1. Create a notepad blank file. Name it 1.htaccess
2. Upload it into your main directory in the control panel usually in folder ../public_html/(upload file here). Using FTP is a lot better. If you still don’t have FTP, download Filezilla for free here.
3. Rename the file already uploaded into .htaccess. (If using FTP you just need to right click -> rename -> .htacess
4. Change the attribute of the file (again using FTP) by right-click -> File attributes -> make it 666 -> OK.
5. Now, login to your self-hosted wordpress admin.
6. Click Setting -> Permalinks -> Day and Name -> check it.
7. Save changes. Done.

=============================

Other Permalink Options:

Actually there are some other options of permalink structure other than the pretty permalink above. Those are:

  • Numeric: Example, http://www.fatihsyuhud.com/archives/123. Just check the numeric and Save Change.
  • Custom, you can determine your own style here. But some SEO expert recommend to use a category based permalink such as http://www.fatihsyuhud.com/category/postname. For example, I wanted to put a category named “sexy-girl” or “dating” as my category based permalink, the whole structure will be like this: http://www.fatihsyuhud.com/sexy-girl/postname or http://www.fatihsyuhud.com/dating/postname . In order to make this kind of permalink structure, simply check the “Custom, specify below” and put this code in the blank box: /your-category/%postname% Don’t forget to save the change.

You should have a pretty permalinks of your choosing by now. Further reading.

Problem and Solution: Use Permalink Migration Plugin

In case you have used the ugly permalink for so long (have been indexed by google) and fearful that when you renew the parmalink you’ll lost your “mojo” (meaning, google juice), fear not.  The problem has been resolved by Permalink Migration Plugin:

But doing so [i.e. changing permalinks) will make all pages indexed by search engines become invalid,moreover, losing visitors from other sites or bookmarks that links to you.

There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It’s called a “301 Redirect”, also known as a Permanent Redirect.When you do this, Search engines will update their indexes quickly and you won’t lose your pagerank.you will continue to receive traffic as though nothing had changed. This works for search engines, bookmarks, and links from other sites.

By now, you know how can you change your permalinks without losing the traffic you’re already getting. You can download this Permalink Migration Plugin to achieve this for you.

Download the permalink migration plugin for free here. Follow the installation tutorial here.

69 Comments Post a comment
  1. Oct 1 2009

    In WordPress, a permalink is important. Therefore, if it can be seen prettier, the blog can automatically have better performance.

    Reply
  2. Oct 14 2009

    Nice tip, will try it ASAP.

    Reply
  3. Mar 8 2010

    Makasih untuk tipsnya mas…

    Reply
  4. Mar 20 2010

    Permalink itu apa sih mas???

    Reply
  5. Mar 20 2010

    Makasih untuk tutorialnya mas…

    Reply
  6. Apr 27 2010

    mas fatih, terimakasih sebelumnya, saya sudah ikuti semua langkah2 nya tapi link url artikel saya tetap tidak terindex search engine, sudah kombinasikan/ pakai permalink yg lain tetap juga tidak terindex..mohon bantuannya mas fatih.

    Reply
    • Apr 27 2010

      jangan2 anda mengeblock search engine secara tidak sengaja. lihat di link ini -> http://www.fatihsyuhud.com/one-week-wordpress-blog-not-indexed-by-google/

      Reply
      • Apr 28 2010

        Terimakasih mas, utk blog memang sdh terindex, tapi kalau kita ketik lengkap url artikel atau judul artikel saja di google search maka yang muncul cuma alamat/ url blog saja dengan diskripsi dari artikel dan Url artikelnya ngak ada. kalau di klik hasil pencarian tadi maka langsung menuju homepage/frontpage situsnya bukan ke Artikelnya. Saya sudah kombinasikan Permalink nya tapi tidak ada perubahan, sekarang yg di pakai /%postname% saja dan tetap ngak ada perubahan. Sitemap, seo all in one, dll sudah ada.
        Ada saran yang lain mas fatih?

        Reply
  7. Apr 28 2010

    iya, dalam index 0 artinya belum terindex. tinggal tunggu waktu saja. mungkin dalam waktu seminggu dua minggu lagi akan terindeks semua.

    untuk mempercepat, lakukan posting secara regular (setiap hari) dan juga submit ke Yahoo dan Bing

    Reply
  8. Jun 30 2010

    tnk Gan ane mau coba nih

    Reply
  9. Jul 13 2010

    Thank you for sharing this gem.
    Anyway, if I enter this code: /%postname%/,
    Will it change all my permalink structure posts (previous/existing posts)? or does it only affects new posts on my blog?

    #all posts will change to new structure

    Reply
  10. Aug 12 2010

    thanks mas utk artikelnya..

    Reply

Trackbacks & Pingbacks

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments