How to configure url redirection in. redirect a url to another url in the htaccess file, for example, aaa. cccc. comffffaac & nbsp; Redirected to & nbsp; aaa. ccc. comffff actually contains a parameter, but the parameter information is not displayed in the address bar ------ solution -------------------- you want to hide the url redirection
How to redirect a url to another url in the. htaccess file
Example: http://aaa.cccc.com/ffff/aa=c/ redirection to http://aaa.ccc.com/ffff/
That is to say, there is actually a parameter, but this parameter information is not displayed in the address bar.
------ Solution ----------------------
You want to hide the submitted get value! I personally think it cannot be done!
Redirection is indeed acceptable. the redirection rule is to forward the url request to other locations. after you redirect the request according to the rule you mentioned, the value submitted by get does not exist!
------ Solution ----------------------
Two cases
The parameter is fixed. rewrite http://aaa.ccc.com/ffff/to http://aaa.cccc.com/ffff/aa=c/
The parameter is submitted by the user. just change it to post.