I'm using Expression Engine 2.7.2 and Structure 3.3.17 and am having a problem creating a nested URL structure.
I have one Channel "Landing Pages" whose entries point to the template /region/index and calls the page content like so:
{exp:channel:entries disable="member_data|pagination" url_title="{last_segment}" limit="1" channel="landing_page" cache="yes" refresh="1500"}
{if no_results}
{redirect="404"}
{/if}
OUTPUT CONTENT....
{/exp:channel:entries}
I have created two test entries:
Wellington Landing Page (URL title and 'Structure URL title' both "wellington") - this page is able to be viewed as expected at /region/wellington/
Wellington Kitchens Landing Page (URL title and Structure URL title both "kitchen"). This page has "Wellington Landing Page" specified as its Structure Parent Entry. We need to be able to view this below its parent page in the URL structure, that is at /region/wellington/kitchen/ however this returns 404. It is possible to view it at /region/anyrandomtext/kitchen/ or /region/kitchen/
I have tried replacing the {exp:channel:entries}
tag with {exp:structure:entries}
and the problem persists.
Is this something that should work? Any suggestions would be much appreciated.