Quantcast
Channel: How to redirect with query string in Nginx - Server Fault
Browsing latest articles
Browse All 2 View Live

Answer by Richard Smith for How to redirect with query string in Nginx

But the q parameter is empty on redirection.I don't see that problem. When I test the configuration as written, it creates a redirection loop because the original keywords='value' is appended to the...

View Article


How to redirect with query string in Nginx

I would like to redirect:something.com/search?keywords='value'tosomething.com/search?q='value'Here is my Nginx config:location ~ /search { if ($args ~* "keywords=(.*)") { rewrite ^.*$...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>