How To Create Permalinks for WordPress Blogs | Tutorial Freak – Online Tutorials

How To Create Permalinks for WordPress Blogs

Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change — hence permalink.

There are basically three types of Permalinks:

  • Default: “Ugly”

  • mod_rewrite: “Pretty Permalinks”


  • PATHINFO: “Almost Pretty”

    PATHINFO permalinks look very much like mod_rewrite permalinks but for one exception: they have /index.php inserted before them, like so:


Choose your permalink structure

Go to Settings → Permalinks panel (Options → Permalinks before WordPress 2.5), you can choose one of the “common” structures or enter your own in the “Custom structure” field using the structure tags.

Please note: Do not ever put your site url in the permalinks slot. You must use one of the structure tags, or a combination of tags only.

To activate PATHINFO permalinks, start your permalink structure with index.php/

Using the mod_rewrite: “Pretty Permalinks” structure is good for Search Engine Optimization (SEO) and I personally use the same. So, let us look at how to set that up.


is the best custom permalink structure for SEO purposes. This is a bit of resource consuming structure, but works really well for SEO.

Go ahead and enter this in the “Custom Structure” field.

Important Note: You will have to enter the below rewrite code in your .htaccess file (Apache servers only) – This is already included for WordPress versions above 3.0.

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Well, that is it! You have successfully made your site’s URL “pretty” and search-engine friendly.

Author, Blogger, SEO Expert, Working Professional and a Student! I play so many roles in life and love what i do. I enjoy each moment of my life. Do follow us on Facebook

Sagar – who has written posts on Tutorial Freak – Online Tutorials.

Help keep us alive & kicking, we need coffee 24/7, please donate, thanks!

2 Comments on “How To Create Permalinks for WordPress Blogs

  1. Thanks for the insight. It brings light into the dark!

Leave a Reply

error: Content is protected !!