A regex can match a redirect source while leaving $1 untouched. Learn how custom PHP redirect handlers should perform capture substitution, validate destinations, and test the final response.
Tag Archives: redirect
Remove Query String in Nginx
I’ve removed and uninstall the some plugins, and I would like to prevent it display some error or 404, so I apply this way to nginx.conf redirection. If you want to redirect permanent, then you can use 302.
