In Craft 2 there used to be a Nested Entries field, but this is not available in Craft 3.

I know I can do {parent.uri}/{slug} in the Entry URI Format field, but if I want it to be appended by something static it doesn't work.

i.e. static/{parent.uri}/{slug} doesn't work because children uri sets to static/static/parent/child (edited)


2 Answers 2


I kind of found a work around, but doesn't seem like it's the correct way to be doing this.

{parent.uri ? parent.uri : 'static'}/{slug}

  • 1
    This is the only answer that seems to allow for a non-duplicated static segment in the url after trying all answers displayed here and also at the related question here: craftcms.stackexchange.com/questions/23610/parent-uri-slug
    – Tchick
    Sep 22, 2019 at 15:19
  • This worked best for me as well. It should be marked as the official answer Apr 21, 2021 at 10:21

Reviving this quite late, but the docs state the following as the correct method:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.