Prevent WordPress automatically processing certain URL queries

I’m coding a custom plugin for a client and I want to use certain $_GET variables in the URL in my custom pages, such as ?s=$1, ?p=$1 and ?paged=$1. With some of these variables, such as ?paged=$1, it redirects me to another URL: [PAGE_URL]/page/$1.

Are there any filter or action hooks that I can use to remove these functionalities for particular pages?

Read more here:: Prevent WordPress automatically processing certain URL queries

Leave a Reply

Your email address will not be published. Required fields are marked *