Answers.Body: <p>Sounds like you're looking for the <a href="https://craftcms.com/docs/4.x/entries.html#structures" rel="nofollow noreferrer">Structure</a> section type! Structures allow you to manually nest and order entries.</p>
  <p>A bit further down that documentation page, you’ll find <a href="https://craftcms.com/docs/4.x/entries.html#entry-uri-formats" rel="nofollow noreferrer">a section about URIs</a>—generally, if you want entries in a structure to have nested URLs, you would use a URI format like this:</p>
  <pre><code>{parent.uri ?? 'examples'}/{slug}
  </code></pre>
  <p>…which handles the scheme you’re describing, recursively!</p>
  <p>For example:</p>
  <ul>
  <li>The top-level “Geometry” entry (with slug <code>geometry</code>) would get a URI of <code>examples/geometry</code> because it has no parent.</li>
  <li>Nesting “First Class” (with slug <code>first-class</code>) under “Geometry” would get a URI of <code>examples/geometry/first-class</code> because it <em>does</em> have a parent, and the parent’s URI (including <code>examples</code>) is used instead of the default (<code>examples</code>).</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-09T21:57:46.447Z
Answers.LastActivityDate: 2022-12-09T21:57:46.447Z
Answers.UserDisplayName: August Miller
Body: <p>help me figure it out. I need to create a structured directory. So that there are categories nested inside each other. I created the &quot;Examples&quot; section. According to the idea, there should be other categories in the &quot;Examples&quot; category, within which there should also be other categories.</p>
  <pre><code>That is, like this:
  - Examples
  -- Geometry
  --- First class
  --- Second class
  --- Third grade
  </code></pre>
  <p>There are two questions:</p>
  <ol>
  <li><p>How to organize such a structure in the administrative system? Should I create two partitions? One with the name &quot;News&quot; and the second with the name &quot;News Categories&quot;? And using the &quot;Entries&quot; field to link these two sections?</p>
  </li>
  <li><p>I want the content of the selected category on the site to open at this URL: &quot;site.com/examples/geometry/first_klass /&quot; I.e. each category is present in the URL.</p>
  </li>
  </ol>
  <p>Maybe my idea is fundamentally wrong. Please tell me the most correct and logical solution.</p>
  
Tags: <craft3>
Title: How to create a structured catalog?
ThreadText: # How to create a structured catalog?
  
  (Asked by: username_0 on 2022-12-09)
  
  help me figure it out. I need to create a structured directory. So that there are categories nested inside each other. I created the "Examples" section. According to the idea, there should be other categories in the "Examples" category, within which there should also be other categories.
  
  ```
  That is, like this:
  - Examples
  -- Geometry
  --- First class
  --- Second class
  --- Third grade
  
  ```
  
  There are two questions:
  
  1. How to organize such a structure in the administrative system? Should I create two partitions? One with the name "News" and the second with the name "News Categories"? And using the "Entries" field to link these two sections?
  2. I want the content of the selected category on the site to open at this URL: "site.com/examples/geometry/first\_klass /" I.e. each category is present in the URL.
  
  Maybe my idea is fundamentally wrong. Please tell me the most correct and logical solution.
  
  **Tags:** craft3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-12-09. Score: 2
  
  Sounds like you're looking for the [Structure](https://craftcms.com/docs/4.x/entries.html#structures) section type! Structures allow you to manually nest and order entries.
  
  A bit further down that documentation page, you’ll find [a section about URIs](https://craftcms.com/docs/4.x/entries.html#entry-uri-formats)—generally, if you want entries in a structure to have nested URLs, you would use a URI format like this:
  
  ```
  {parent.uri ?? 'examples'}/{slug}
  
  ```
  
  …which handles the scheme you’re describing, recursively!
  
  For example:
  
  * The top-level “Geometry” entry (with slug `geometry`) would get a URI of `examples/geometry` because it has no parent.
  * Nesting “First Class” (with slug `first-class`) under “Geometry” would get a URI of `examples/geometry/first-class` because it *does* have a parent, and the parent’s URI (including `examples`) is used instead of the default (`examples`).
  
  
  ---
  
  