1

Say i have a url: /lists/more-lists/even-more-lists and i have a route lists/more-lists/*.

If i hit example.com/lists/more-lists/even-more-lists then it tries to load the index template (not the template defined by my route)

If i hit example.com/lists/more-lists/foo then it loads the template defined by my template route.

I should add, that the url segments are category url's.

  • Looks like you got this sorted over on the Craft Slack group. Would you mind adding an answer here? – Brad Bell Jun 24 '15 at 23:24
2

So, if a category section has "has it's own url's" ticked, then the template defined there will take precedence over the custom route. Custom routes i'm told are a fallback and will not override already set routing.

| improve this answer | |

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.