# Cannot create subcategory with yyyy-mm-dd name, says wrong slug

**URL:** https://meta.discourse.org/t/cannot-create-subcategory-with-yyyy-mm-dd-name-says-wrong-slug/135366
**Category:** Support
**Created:** [December 7, 2019, 8:35pm UTC](https://meta.discourse.org/t/cannot-create-subcategory-with-yyyy-mm-dd-name-says-wrong-slug/135366 "2019-12-07T20:35:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [December 7, 2019, 8:35pm UTC](https://meta.discourse.org/t/cannot-create-subcategory-with-yyyy-mm-dd-name-says-wrong-slug/135366/1 "2019-12-07T20:35:50Z")

</div>

Hi, I tried to create a subcategory with a name `2019-12-07` as name and default slug, it says wrong slug. It accepts only `something-2019-12-07` as a slug. Is there any restrictions this case?

Unfortunately I’m not able to reproduce it on try.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 7, 2019, 9:01pm UTC](https://meta.discourse.org/t/cannot-create-subcategory-with-yyyy-mm-dd-name-says-wrong-slug/135366/2 "2019-12-07T21:01:36Z")

</div>

You can’t have all numeric slugs. That does not work.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 6, 2020, 9:15pm UTC](https://meta.discourse.org/t/cannot-create-subcategory-with-yyyy-mm-dd-name-says-wrong-slug/135366/3 "2020-01-06T21:15:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
