I have a structure section called products. The entry url format is


However the category never shows in the preview or real world url (real world url gives a 404)

Each product entry only has one category so am puzzled as to why the category doesn't appear in the url.

1 Answer 1


I imagine it's because you're trying to access productCategory on category instead of the entry. When you're setting entry urls you don't need to use the entry prefix as it automatically expects this to be the case. So try products{productCategory.first().slug}/{slug}

  • Seems obvious now - thanks Luke that was it.
    – joomkit
    Commented Aug 2, 2016 at 9:23

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.