Simple Permalink Trick

So many wordpress bloggers don’t do and it kinda drives me nuts.

When you link to one of your posts, what does it look like?

This?
bad url

Or this?
good url

It helps your SEO and really would make me happy if everyone did this simple trick:

Login to your blog.
Click Options -> Permalink
Change the radio button from default (are you really default) to “Custom, specify below”
and then fill in the Custom Structure box with “/%postname%/”

picture-2.png

This way all your urls will read yoursite.com/title-of-the-post instead of yoursite.com/?232. It helps with SEO among other things (for instance when you send a link to a friend and he writes a blog post about your link structure instead of just reading your post).

So much better.

Thanks.

  • Any reason not to use the second option, ‘Date and name based’? Does this hurt SEO in any way? I appreciate being able to put a post into context by having the date embedded in the URL as well.

  • @sacker yes, the date is a good option as well, for me it is not the most useful thing.

  • Pingback: Friendly Intelligence - December 15, 2007()

  • That was too simple. Thanks for the tip! I’ve been wondering about that.

  • Pingback: Andrew Hyde » Blog Archive » Biggest Blogging Mistakes of 07()

  • Personally, I like to see the date and name based structure. I helps when I’m scrolling through search results in Google and want to get information that’s up to date.

    Older posts can make good reference material, but I’ve been burned more than once following something from an article I later find out was dated.

    Just an extra nicety for the end-user, but either way works just so long as there’s no ugly question mark in the url.

  • @Chris yes, the date can be very helpful

    I wonder if it helps or hurts you? Does it cloud the URL or does it provide relevant data? Would a google search of 2008 simple permalink trick not work for my current structure, but work really well with yours?

  • Pingback: My Domains » Blog Archive » Biggest Blogging Mistakes of 07()

  • Just noticed that just using /%postname%/ actually breaks the WordPress in_category() function. However, if I use their pre-set date-based structure, it works fine.

  • Andrew, I just started my personal blog and am learning about WordPress through a lot of trial and error. After publishing my second post, I saw the ugly permalink (?p=6) and immediately remembered this post you wrote. You helped me out and in the process, I learned how to rewrite some .htaccess files. While I’m not exactly sure what that means, I did it and now have beautiful permalinks. Thanks dude!

  • Matt Browne

    You guys did better than CNBC, you made the _National_ Nightly news. I posted a link on my blog, mattbrowne.com. Great work!!

  • i read an article. they said better using yourwebsitedotcom/category/blah-blahblah.html than yourwebsitedotcom/category/blah-blahblah

    is it true ? i still learning šŸ™

Commenting Rules