WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wordpress Codex says: Make sure to end your structure with either %post_id% or %postname% (e.g. /%year%/%monthnum%/%day%/%postname%/) so that each permalink points to an individual post.

But I would like to set my website's permalink structure (to suite the Google News URL guidelines) like this: /%category%/%postname%-%year%%monthnum%%day%/

So, an example URL would look like this:

But this permalink structure appears to be against the quote from WP codex. Do you see any problems with my custom permalink structure? Please advise.

share|improve this question
up vote 3 down vote accepted

In a word, No. As long as you have %postname somewhere in there you should be fine. Having it at the end, beginning, or middle shouldn't matter. Although the Codex is a great resource it's also edited and written by other WordPress users.

share|improve this answer
Small correction -- I think it should be shouldN'T matter. Thanks by the way! – its_me Mar 22 '12 at 7:45
Sorry about that, Fixed :) – BandonRandon Mar 22 '12 at 8:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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