I've got a channel named "locations" that has an entry fieldtype which allows me to select the corresponding store/brand (limited to 1).

How can I define the slug of the related entry in Entry URL Format of a locations channel?

The final result should look like this: {related-entry-slug}-{slug} of the location entry itself.

Thank you.

1 Answer 1


Assuming your store/brand field handle in your new channel is relatedEntryField, set your URL format when you're defining the channel section to:


That'll pull the slug from the first related entry, add the slug from your current entry, and populate your URL.

As an aside, relational fields are always "arrays" even if there's only one so you need .first().

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.