Jump to content

Output parent page if child doesn't exists


tiefenb
 Share

Recommended Posts

Hello!

I want to create an overview page which outputs pages with specific tags.

I created the page /en/tag/.

If someone opens /en/tag/bananas it should show the page /en/tag/. Or it should use my template which I have creaded for the page /en/tag/. But the site /en/tag/banana does not exist - I want to use the word "banana" as the search criteria in my pw api query.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...