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)


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}


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, privacy policy and cookie policy

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