I have a wordpress install where I want to serve a static page/template for anyone arriving at a child of a certain page, e.g.
https://example.com/products/*
Would all serve a php template from within Wordpress (or even just a static file) without changing the slug, so the following:
https://example.com/products/some-product-slug
https://example.com/products/another-product-slug
Would both serve the same file without changing/redirecting the URL.
This template would also handle 404s internally, so a slug like:
https://example.com/products/does-not-exist
Would still serve the same static template.
Is this possible to configure within wordpress?
Imagine that the page/template being redirected to is completely unrelated to a post type or hierarchy, as it is serving external resources based on the slug.