Hi, I have a page template setup that searches a database and appends the results to the bottom of the page based off of what is in the URL path. I created a page, let’s call it “details”. What I am trying to do is “extend” the path as a data input instead of using a GET attribute. I can get the path in PHP just fine, but WordPress is shortening the path back to just the page.
Example: [website.com/details/1234](https://website.com/details/1234)
If you go to that page though, WordPress removes the “1234” since that is not a valid child page. Is there a way I can prevent WordPress from doing this for just this page?
[ad_2]
I think this Stackoverflow answer is what you’re looking for: [https://stackoverflow.com/a/63708534/728552](https://stackoverflow.com/a/63708534/728552) – essentially you’re creating a rewrite URL to accept /details/{THIS_VALUE}, and using THIS_VALUE you’d perform your query.