Answers.Body: <p>Craft doesn't care what the individual slug of an entry is on its own, it looks at the whole path to see if there are duplicates.</p>
  
  <p>Therefore having <code>shop.com/candy</code> and <code>shop.com/about-us/candy</code> shouldn't be a problem, provided the <code>Entry URI Format</code> has been setup correctly for your Sections.</p>
  
  <p>It should take into account the slug of parent entries in generating their own. I use this:</p>
  
  <p><code>{parent.uri ?? ''}/{slug}</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-14T09:01:51.410Z
Answers.Text: Thanks Jamie for your reply!
  
  `{parent.uri ?? ''}/{slug}` did the trick
Answers.UserDisplayName: Romberto
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-14T08:51:50.380Z
Answers.LastActivityDate: 2019-08-14T08:51:50.380Z
Answers.UserDisplayName: Jamie Wade
Body: <p>Is there a way/workaround for using "duplicate" slugs?</p>
  
  <p><strong>Example:</strong> </p>
  
  <ul>
  <li>shop.com/candy (category page with listing of candy's)</li>
  <li>shop.com/about-us/candy (plain page with info about the production process etc)</li>
  </ul>
  
  <p>Normally Craft will automatically generate for the second slug "candy-1".</p>
  
Tags: <slug>
Title: Use of duplicate slugs, without -1
ThreadText: # Use of duplicate slugs, without -1
  
  (Asked by: username_0 on 2019-08-14)
  
  Is there a way/workaround for using "duplicate" slugs?
  
  **Example:**
  
  * shop.com/candy (category page with listing of candy's)
  * shop.com/about-us/candy (plain page with info about the production process etc)
  
  Normally Craft will automatically generate for the second slug "candy-1".
  
  **Tags:** slug
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-14. Score: 4 | Accepted answer
  
  Craft doesn't care what the individual slug of an entry is on its own, it looks at the whole path to see if there are duplicates.
  
  Therefore having `shop.com/candy` and `shop.com/about-us/candy` shouldn't be a problem, provided the `Entry URI Format` has been setup correctly for your Sections.
  
  It should take into account the slug of parent entries in generating their own. I use this:
  
  `{parent.uri ?? ''}/{slug}`
  
  > **Comments:**
  > **username_0**: Thanks username_1 for your reply!  `{parent.uri ?? ''}/{slug}` did the trick  
  
  ---
  
  