Best Permalink Structure for Your Blog Posts • Lab Tested Real Estate

Best Permalink Structure for Your Blog Posts

More and more real estate agents are using self-hosted WordPress blogs these days, as I do on all my sites so far.  Here’s something you should know about how to choose the best permalink naming structure.

(The permalink is how the URL will look for that blog post.  For example, for this post the URL (permalink) will read “

1.  The default blog post naming structure WordPress will give you looks like this:

This is terrible for search engines, since ?p=123 doesn’t say anything about what the post is about.

2. Most people do what I did, which is to instead select one of the other naming structure options provided by WordPress.  A really common one looks like this:

where ‘post-name’ is the the title of your blog post.

This url includes the date of the post.  What I didn’t realize until just recently is that if you update your post at a later date the url changes to reflect the new date.  This messes up the search engines and anyone who linked to your (most excellent) post because it now has a new url.

(I can’t tell you how many times I’ve gone in the next day to edit old posts.  Aagh!)

3.  A good choice is to select ‘Custom Structure’ and then use either just the post name:


or the category and post name:


This means that you can go in and update your old posts without losing the old url, since it doesn’t include the date.

So… what if you want to switch to a url with no date, but you already have a bunch of old posts with dates in the url and you’re afraid of losing links to them?

(When you change the naming structure in WordPress it changes all of your old post urls as well.)

4.  There’s a great blog plug-in called Dean’s Permalink Migration that creates a Permanent Redirect from all your old url formats to the new one.

This keeps the search engines happy and doesn’t break any links from the people who linked to you. It’s also VERY easy to use.

Just upload and activate the plug-in, go into the Permalinks Migration section to make sure that the old naming structure is correct (you can copy and paste from your permalinks setting if it’s not,) click ‘update’ in the Permalinks Migration section, then go into the Permalinks setting of your WordPress blog and choose whatever naming structure you want.

Update Feb. 4th 2009: This plugin DOES work, however the examples below may no longer work because of another change we did to our website since this blog post.

I just did this with two blogs and tested it by clicking on an old url to see if it went to the new url.  To test it yourself, click on:

and you’ll see it will go to:

Here’s the link again for Dean’s Permalink Migration Plugin:

I love things that work. 🙂

Click Here to Leave a Comment Below 6 comments
ark - May 21, 2009

Is this really true?

“if you update your post at a later date the url changes to reflect the new date”

I often update my posts at a later date but this doesn’t happen to me.

    Irene Dorang - May 26, 2009

    Hi, yes, this is what I’ve heard from a very good web designer, and if you check around you’ll find posts like this one by Chris Pearson who does the Cutline theme, as far as permalinks goes he says:

    “Some others would prefer adding the post year, month or day in the post field, but this can get messy, since in the event that you change post dates, links to the original URL will be broken.”

ark - May 27, 2009

Yes, I understand it now. Your URL will be broken if you actually changed your post’ date. Say, from May 20 to May 27. Of course, your new date will be reflected instead of the old one. But if you just update your post without changing the date, nothing bad will happen to your original URL.

Irene Dorang - May 27, 2009

It has been a while, but I’m pretty sure I checked this at the time by updating a post and it automatically switched the date in the url to the date of the time of the update, thus creating a new permalink. So maybe there’s a way around it but for someone just doing what seemed like a normal way to update a post the url changed – unless I’m totally remembering this incorrectly. 🙂 I don’t think there would be that many posts online about this issue if it didn’t occur at least pretty commonly though.

V.C - June 12, 2009

It might be a good idea to leave a unique number in your permalinks. I often have posts with the same name and it can be troublesome unless you leave in date or post_id information. I currently use: /%category%/%post_id%/%postname%

    Irene Dorang - June 15, 2009

    I think that makes sense, since the post id should always stay the same and this leaves your category and post name in the url as well.


Leave a Reply: