<p>So, there's no mention of this in the v3 docs that I could see.</p>

<p>I went back to an older project where I'd used categories to find that I set the <code>Category URI format</code> field to <code>{% if object.level == 1 %}read/category/{slug}{% else %}{parent.uri}/{slug}{% endif %}</code></p>

<p>This was obviously documented at some point for me to implement it on what would have been an original Craft install.</p>

<p>There's no mention of this being needed to enabled nested categories on <a href="https://docs.craftcms.com/v3/categories.html#category-groups" rel="nofollow noreferrer">https://docs.craftcms.com/v3/categories.html#category-groups</a> so it should get added.</p>

CC BY-SA 4.0
2019-07-02T20:52:01.067Z
2019-07-02T20:52:01.067Z
Steven Grant
<p>Set the sorting display as Structure.</p>

<p><a href="https://i.sstatic.net/eBdmk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eBdmk.png" alt="enter image description here"></a> </p>

CC BY-SA 4.0
2019-07-03T01:33:15.900Z
2019-07-03T01:33:15.900Z
CraftQuest
<p>Try as I might I just can't seem to get categories to show as nested in the Control Panel as shown on <a href="https://docs.craftcms.com/v3/categories.html#creating-and-editing-categories" rel="nofollow noreferrer">https://docs.craftcms.com/v3/categories.html#creating-and-editing-categories</a></p>

<p>There's no level of depth set on the category group, so not sure what else is at play?</p>

<categories>
Categories not displaying as nested in control panel
# Categories not displaying as nested in control panel

(Asked by: username_0 on 2019-07-02)

Try as I might I just can't seem to get categories to show as nested in the Control Panel as shown on <https://docs.craftcms.com/v3/categories.html#creating-and-editing-categories>

There's no level of depth set on the category group, so not sure what else is at play?

**Tags:** categories

---

## 2 answers

### Answer by username_0 on 2019-07-02. Score: 1

So, there's no mention of this in the v3 docs that I could see.

I went back to an older project where I'd used categories to find that I set the `Category URI format` field to `{% if object.level == 1 %}read/category/{slug}{% else %}{parent.uri}/{slug}{% endif %}`

This was obviously documented at some point for me to implement it on what would have been an original Craft install.

There's no mention of this being needed to enabled nested categories on <https://docs.craftcms.com/v3/categories.html#category-groups> so it should get added.


---

### Answer by username_1 on 2019-07-03. Score: 1

Set the sorting display as Structure.

[![enter image description here](https://i.sstatic.net/eBdmk.png)](https://i.sstatic.net/eBdmk.png)


---

