This seems like it should be straight forward. I need to set-up a structure section with a parent page which uses the same section entry and same template. So the parent would have 'parent' as the slug and the children would have 'parent' as the first segment of the URL ie parent/children. Under the site settings in the section page I can include 'parent' before the slug, but this means the parent page gets the URL parent/parent. How do I get the parent page to keep the URL parent/?
1 Answer
If you do this:
{parent.uri}/{slug}
You should get URLs like this:
- site.com/parent
- site.com/parent/child-1
- site.com/parent/child-2
Does that make sense?