How To Change Your Slug For SEO

Ongoing WordPress Support

Do You Need Help With Your WordPress Site?

Click through to the next page and learn more about our ongoing WordPress care plans.

Date

How to modify your slug to make your post more attractive to Google
Photo by arnj
Photo by arnj

One of the most important things to change on your blog for seach engine optimisation or SEO is your slug.

Just in case you have been living under a stone like our erstwhile friend the slug and do not kjnow what SEO is, then a quick definition is in order.  Search engine optimisation is the the process of making your blog or website as attrative to Google and it’s chums yahoo and MSN so that when someone type in a phrase, for example wordpress coaching (give it a go and see who is there) you come out on the first page near the top.

What is A Slug

The slug is the bit that follows your domain name and points to your post, for example:

wpdude.com/this-is-a-slug

By default on a WordPress blog, the slug looks something like this:

wpdude.com/?p=22

As far as a search engine is concerned this is not a very useful, it says nothing about the post, there are none of the key phrases people would type in to identify the post, in short, you are going to have a very hard job to drag people in from Google with a slug like that.

Changing Your Slug To Something Useful

All is not lost, you can change the default slug to something far more useful.  From your WordPress blogs’ admin console, scroll down to settings and  click on permalinks.

From there select a custom permalink structure and set it to be /%postname%

What this does is to change the default slug configuration to be the title of your post, for example this post would have the slug:

how-to-change-your-slug-for-seo

The search engine has been fed much more information about what my post is about.

Removing Useless Words

There is a school of thought in SEO circles that you should remove all useless words from your slug and leave only hardcore keywords.  The things to remove are “a, the, it, then” etc etc.

There is a plugin to do this for you, imaginatively called Seo Slugs, download it and activate the plugin.  From that point forward your slugs will be trimmmed down by default. My new slug for this post now becomes:

change-slug-seo

The superflous words are cut down and hopefully Gooogle juice will flow in plenty.

Quick Get The Table Salt It’s Eatin’ The Lettuces

Don’t pour salt on your slug and kill it off, treat is nicely and you will be rewarded with organic search traffic from Google.

Get creative, think what people will type into google to find a post like yours, and match this to your slug.

The How To Video

I have created a screencast video of me doing the config on a real WordPress blog, enjoy.

[local /wp-content/uploads/2009/04/seo-slugs.wmv]

5 thoughts on “How To Change Your Slug For SEO”

  1. Jeez, so that’s what they look like in person?

    Well, I completely agree with you on using a slug that is most helpful and beneficial to you. It helps increase your potential for being found through the search engines because SE crawlers don’t just look at what’s on the page, but what the page file name is.

    Good job on simplifying this.

  2. Thanks for this, Neil. I’m trying to figure out why one of my sites (which has lots of plugins but not SEO Slug) has a box for the slug, and a newly set up site does not. The slug box (so far) doesn’t come with Headspace, which I have installed. So I’m bewildered about why it isn’t showing up and which of my old plugins might be adding it. Based on your fine article, I’m going to change the permalink settings and see if that makes a slug box appear.

  3. I changed my permalink settings and put the /%postname% in the custom structure, but Google analytics still shows this page up as a 404 error page. Does anyone know how I can either change or delete this page? Thanks

Comments are closed.

Ongoing WordPress Support

Do You Need Help With Your WordPress Site?

Click through to the next page and learn more about our ongoing WordPress care plans.

More
articles