Heres the setup: • Page called Weddings with children pages called winter, spring, fall, summer. • Custom post type called 'weddings'. • Taxonomy called wedding_type assigned to the custom post type weddings.
When I go to the page website.com/weddings, it shows you all of the weddings posts, all types on one page. When I go to website.com/weddings/summer, I want to use a different template so I can query the wedding posts, with the taxomomy 'wedding_type' of summer. But I get a 404. I believe this is because it is looking for a wedding post called 'summer'.
Any Ideas? I don't really have any code to post, I set this up via the CPT UI plugin.
Just Change the slug of your parent page "Weddings". Currently the slug of that page may be "weddings", you can change it to like "all-weddings" or "list-weddings".
Your problem will automatically get resolve as soon as you change the slug of your page named "weddings".