I’ve seen this question many times on forums, so I thought it would be a good idea to make a post on how to have your post title appear on your links.

First, what does this mean? If you look in the address bar, you’ll notice that the URL is this one:
“http://www.wordpress-how-to.com/2008/10/14/how-to-make-your-title-appear-in-your-links”. This is an old SEO trick, now implemented in many web applications and yes, wordpress has support for it, just that it isn’t enabled by default.

The files/directories specified by the link don’t exist on your server, this is basically a redirection made by the htaccess file on your server. Therefore, when you hit “/2008/10/14/how-to-make-your-title-appear-in-your-links”, it will query the database for the post with that title and it will take you to index.php?p=somepostid. That’s all it happens in the background.

Let’s get to the point now. It’s very easy to enable this feature on wordpress. To do that, just login to your admin area, hit “Settings” (it’s in the upper right corner for the newer versions), then, from the contextual menu, pick “Permalinks” (or simply, put this at the end of your blog URL to access the page directly: “yourdomain.com/wp-admin/options-permalink.php”).

From there, you pick one of the options, which one you consider to be the best (I’m using the second: day and name) and then click on save.

Please note that your root folder (or blog folder if it’s not located in root) should be writable. If it’s not, wordpress won’t be able to write the htaccess file.

This is it. If you enounter any problems, just let me know via email or reply to this post and I’ll be happy to help you.

- Peter

Tagged with:

Filed under: GeneralWordpress How To

Like this post? Subscribe to my RSS feed and get loads more!