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.

I've no idea why i can't add a Page with Name 2011. Wordpress changes the URL Slug to 2011-01.

There is no Post with this Name in my Database. I tried zu flush my rewrite rules but nothing seems to be work.

If i add a Page 2013 it works fine. But only once... If i delete this Page (from Trash) i can't add it again. Wordpress changes the slug to 2013-01. If i change the Post name directly in the database. Nothing happens...

I really wonder why because there is no Post with this Name.

Any suggestions?

share|improve this question
1  
That's because if you go to example.com/2011 you should be taken to an archive page of all post from 2011. 2013 works because you don't have any post dated 2013 (id assume) –  BandonRandon Oct 18 '11 at 20:55

1 Answer 1

up vote 2 down vote accepted

This has to do with how paging-within-a-page works. See ticket #5305. There's a plugin that will allow you to have numeric slugs if you're willing to sacrifice paging: http://wordpress.org/extend/plugins/allow-numeric-stubs/

share|improve this answer
    
You saved my Day. Thank you for sharing! –  gearsdigital Oct 21 '11 at 23:00

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.