9

In the past I've used the Day and Name or Month and Name settings.

Should the date structure be omitted and just have /%postname%/ ?

Ie does having the date information reduce the quality of the url?

3 Answers 3

10

@nevster,

The best permalink structure for seo is /%category%/%postname%/

This permalink structure gives you the most keywords loaded into the URL of your post. Since the category that you’ve placed your post under usually relates to the post title, you will have an extra SEO benefit if other websites use that permalink structure to link your post.

EDIT

After reading over the link Mike shared below I felt I should also mention that starting the permalink string with %postname%, %category%, %tag%, or %author% will invoke WordPress's "use_verbose_page_rules" which will cause the rewrite matching system to generate individual rules for every Page, then check those first. If you have lots of pages, this is a big hit to the system. The performance hit happens at about the 50+ page mark.

In order to have the ability to scale your site on a larger level you should start the permalink structure with a number like: /%year%/%category%/%postname%/

Your pages will always use the /%pagename%/ permalink structure any time you enable permalinks so the /%year%/%category%/%postname%/ will only be applied to your posts.

If your site is more CMS than blog the optimal SEO url structure would be to use child pages where the parent page could be considered a category.

For example a university website might have a parent page "Campus Offices" with child pages of "Business Affairs", "Athletics" etc.. Then URLS would like this: www.university.edu/campus-offices/athletics/ which is great for the user experience and seo.

6
  • 1
    @Chris: - Are you aware of this? ottopress.com/2010/category-in-permalinks-considered-harmful Commented Sep 5, 2010 at 5:36
  • 1
    I just read that and this discussion on WP Tavern: wptavern.com/forum/troubleshooting/1470-permalink-problem.html I still think category/postname is the best for seo and the performance hit starts at around the 50 page mark.
    – Chris_O
    Commented Sep 5, 2010 at 8:47
  • 4
    Including a static string at the beginning of your permalinks is another way to get around the "use_verbose_page_rules" issue. So if you want to include category in your permalinks, why not just use a structure like /blog/%category%/%postname%/ ? You could even include a keyword or two in the static string, if you're that concerned - just make sure its not something you will ever use as a category or post title... Commented Sep 5, 2010 at 16:26
  • @goldenapples very good point.
    – Chris_O
    Commented Sep 5, 2010 at 17:16
  • 2
    Just found out that my point above is wrong. Sorry about the confusion. Apparently text strings in permalink structure automatically trigger verbose page rules, even if they are static text. There's a new ticket on trac discussing this: core.trac.wordpress.org/ticket/15187 Commented Oct 21, 2010 at 19:52
1

Put the terms you need SEO wise in the slug. The permalink structure is pretty unimportant then. Better invest your time and money into content instead of finding the holy grail in permalink optimization. Unless you don't do all the time and adopt accordingly and integrate it into a whole SEO strategy, you won't get anything specific out of it.

But one criteria SEO wise is the speed your site will react now these days. So to say your permalinks should have good performance, so adding the ID is very helpful to give WP some speed. There's nothing wrong in having the ID part of the permalink these days, I wonder why this is not suggested more often (in the end it doesn't help with wordpress permalinks? :).

0

re: Does having the date information reduce the quality of the url?

Obviously, definitions of quality vary. I think month and day are unhelpful.

If you like dating your posts then /%year%/%postname%/ is the cleanest, as long as you ensure your slug contains relevant keywords.

People do sometimes add the current year to a search query, and it can help when people are picking between different URLs (if competing URLs look like they could contain outdated information). Couple this to the performance tips also on this page and it seems that the year is a good thing to start with.

The dangers of category is that categories change. The year you posted a post changes considerably less often.

Not the answer you're looking for? Browse other questions tagged or ask your own question.