I want every structure entry to have a follow up page, http://thisismysite.com/handle/slug/followuppage.

So every slug, get a follow up page with different content but the same template. Is there a simple way of doing this?

Thank you in advance!


1 Answer 1


You can setup a dynamic route for /handle/<slug>/followuppage and route the requests to your follow-up page template. From that template you’d have access to a variable called slug that you would then use to query for your structure entry.

{% set entry = craft.entries.section('mystructure').slug(slug).first() %}

{% if not entry %}
    {% exit 404 %}
{% endif %}

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.