1

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:
http://example.com/internet/hello-world-20120322/

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.

1 Answer 1

2

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.

2
  • Small correction -- I think it should be shouldN'T matter. Thanks by the way!
    – its_me
    Mar 22, 2012 at 7:45
  • Sorry about that, Fixed :)
    – Brooke.
    Mar 22, 2012 at 8:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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