Hi all,
I have an existing site structure I would like to replicate such as:
example.com/search/laptops/accessories
Currently I show different content on the page if the URL is like this:
example.com/search
example.com/search/laptops
I have discovered that in WeWeb that for a URL to resolve when using URL paths that each path must be defined eg.
example.com/search/{{path|value1}}/{{subpath|value2}}
So using the above structure:
example.com/search - results in a 404 error
example.com/search/laptops - results in a 404 error
example.com/search/laptops/accessories - Shows page content.
Frustratingly the Editor permits you to change pages using missing URL paths, it has only been on publishing to staging that the web app causes the 404.
Is there anyway at all to stop WeWeb returning a 404 and actually displaying content when a URL path is not defined? I have conditional logic in place to manage this, it is just that the URL causes the 404.