Search engine optimization by improving permalinks

Permalinks are the permanent web addresses for your individual blog posts. One of the great features of WordPress is its extremely easy and flexible to make your permalinks into pretty much anything you want.

When considering how to setup permalinks, you want to put some thought into how you want the web addresses on your website to look to both your users and your search engine spidery friends.

By default, WordPress numbers your blog posts and includes those in the permalinks. The problem with numbers is that they don’t convey much information to anyone and instill dread in people that come across a naked link and get anxiety about what may be found on the other side.

Doesn’t a link like this look scary:


A permalink should:

  1. Convey information about what to expect on the other side of the link. This puts people at ease and keeps the fear of the unknown at bay when they see your link in the wild – such as in the little green print below a Google listing.
  2. Include keywords relevant to the content of the page. This can provide benefits in search engine ranking. Even if Google waters this down due to spammers some people will link to you with your full URL. In those cases, you are more likely to get some good keywords into the link text which is an SEO plus.
  3. Use dashes instead of something like underscores to serve as spaces between words as Google views dashes as word separators and equivalent to a space.
  4. Be short. Short web addresses are not only nicer on the eye, they don’t get cut off and rendered unclickable when passed around in emails.

You want to get on changing your permalinks quick before Google starts indexing you and people start linking to you, otherwise you run the risk of the default WordPress permalinks seeping into the network at large and causing you all kinds of SEO pain down the road. This is thevery first thing I do in a new WordPress install.


To change your permalinks, go to Options > Permalinks in your WordPress console, choose Custom and include a pattern like this one:


You should have something that looks like this:


This will lead to URLs that look like:


… you’ll want to edit the thing called the post slug on the Write New Post screen to show the text you want for the permalink. In this case, I chose optimize-your-permalinks. If you leave this out WordPress won’t crash and burn – it will just dashify your title and effectively turn it into a post slug. In many cases this is fine, but if the titles of your posts are long or a little mysterious then letting it happen automagically won’t be optimal.

Please follow and like us:
About shk

shk is a DevOps engineer with more than 12 years of experience in different organizations. He enthusiastic about learning new technologies and shares his knowledge through his blogs.

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.



Previous Post:
Next Post: