Disable URL path rewrite for single “child” page

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?

1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer