When accessing URLs such as the following:
I want the search parameters to be removed:
I have many URLs of that type, what varies is the code that is at the end. I do not need those parameters, since those variables do not exist, it will not affect that you eliminate them. The same thing appears to the user, whether or not the parameters are present.
How can I do that?