What Is A Post Slug?

I have a missing blog post somewhere. Could’ve sworn I wrote about this before in the past but can’t find it in the archive? Crazy. Oh well, it’s a good excuse to post to the blog 🙂

What in the world is a Post Slug? Awfully funny name that makes me think of slimy mollusks.

Post slug is a feature in WordPress that allows you to change the URL of your blog entries. But before we go further, I need to back up a bit. You see, if you have configured your WordPress blog to use your post title as part of your URL, this is what your URL will look like.

http://myblog.com/my-post-title

Sometimes, you have a funny or long post title, making an awfully awkward URL like this:

http://myblog.com/my-post-title-is-insanely-long-dont-you-think-its-ridiculous

Using Post Slug, you can shorten that or throw in a keyword or two to help your SEO efforts. So what you do is enter the following into the Post Slug area found in your post page. It’s on the right if you are using WordPress 2.3 and under
Post slug 2.3

On WordPress 2.5 and above it’s right under the Post Title
Post slug 2.5

Now, save the post and your URL will be a nice, neat

http://myblog.com/no-more-long-urls

Pretty cool huh?

Scroll to Top