Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.