Answers.Body: <p>Set the Nested Entries URL format to:</p>
  
  <pre><code>{parent.uri}/{slug}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-17T11:13:45.507Z
Answers.Text: As a side question: I lost this piece of code in the field while setting the structure to one level, then I could find it nowhere in the documentation of craft or twig. There is no ordered overview of this kind of variables?
Answers.UserDisplayName: noregt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-17T19:43:04.890Z
Answers.Text: I don't quite understand your question, could you please expand on it a bit?
Answers.UserDisplayName: Ben Croker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-18T07:29:08.127Z
Answers.Text: To put it simple: where can I find this {parent.uri} in the docs?
Answers.UserDisplayName: noregt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-19T07:51:03.090Z
Answers.Text: I don't see it in the docs, but the field itself contains instructions saying that "you can include tags that output entry properties", and parent is documented here: http://buildwithcraft.com/docs/templating/entrymodel#parent
Answers.UserDisplayName: Ben Croker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-19T11:21:16.953Z
Answers.Text: Thanks Ben, that's give me an idea about how the docs are setup :-)
Answers.UserDisplayName: noregt
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-10T12:55:20.157Z
Answers.Text: Now with the new `headlessMode` in Craft 3.3 the entries url format is gone. How would I defined the URI now?
Answers.UserDisplayName: Merc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-10T17:37:28.630Z
Answers.Text: Probably better to post this as a new question :)
Answers.UserDisplayName: Ben Croker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-10T15:40:43.140Z
Answers.LastActivityDate: 2014-09-10T15:40:43.140Z
Answers.UserDisplayName: Ben Croker
Body: <p>I have a nested Structure with 3 layers like so:</p>
  
  <ul>
  <li>Home</li>
  <li>Services
  <ul>
  <li>Service A
  <ul>
  <li>Sub Service A</li>
  <li>Sub Service B</li>
  </ul></li>
  <li>Service B</li>
  </ul></li>
  <li>About Us</li>
  <li>Contact</li>
  </ul>
  
  <p>Now I would like the nesting to be reflected in the URL like so:</p>
  
  <p><code>http://example.com/services/service-a/sub-service-a</code></p>
  
  <p>I used <code>{parent.slug}/{slug}</code> as the URL Format and this is working for two but not three layers.</p>
  
  <p>How would the correct format look like?</p>
  
Tags: <url><structure><format><nested-set>
Title: URL Format of a nested structure with 3 or more layers
ThreadText: # URL Format of a nested structure with 3 or more layers
  
  (Asked by: username_0 on 2014-09-10)
  
  I have a nested Structure with 3 layers like so:
  
  * Home
  * Services
    + Service A
      - Sub Service A
      - Sub Service B
    + Service B
  * About Us
  * Contact
  
  Now I would like the nesting to be reflected in the URL like so:
  
  `http://example.com/services/service-a/sub-service-a`
  
  I used `{parent.slug}/{slug}` as the URL Format and this is working for two but not three layers.
  
  How would the correct format look like?
  
  **Tags:** url, structure, format, nested-set
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-09-10. Score: 13 | Accepted answer
  
  Set the Nested Entries URL format to:
  
  ```
  {parent.uri}/{slug}
  
  ```
  
  > **Comments:**
  > **username_2**: As a side question: I lost this piece of code in the field while setting the structure to one level, then I could find it nowhere in the documentation of craft or twig. There is no ordered overview of this kind of variables?  
  > **username_1**: I don't quite understand your question, could you please expand on it a bit?  
  > **username_2**: To put it simple: where can I find this {parent.uri} in the docs?  
  > **username_1**: I don't see it in the docs, but the field itself contains instructions saying that "you can include tags that output entry properties", and parent is documented here: http://buildwithcraft.com/docs/templating/entrymodel#parent  
  > **username_2**: Thanks Ben, that's give me an idea about how the docs are setup :-)  
  > **username_3**: Now with the new `headlessMode` in Craft 3.3 the entries url format is gone. How would I defined the URI now?  
  > **username_1**: Probably better to post this as a new question :)  
  
  ---
  
  