I have a custom post type I created, and a page that displays each entry. I have an area where I can filter the results through a search form. It works good, except when I press submit, the current parameters get removed, causing me to get a 404 on an incorrect page. Here is what I mean.
The page lives on a URL:
When I submit the form on the page, the URL gets changed to this:
As you can see,
?page=submissions.php gets removed, therefore the page gets changed, into a 404. How do I keep the current page I am on, and the other parameters?