Answer the question
In order to leave comments, you need to log in
How to make a redirect with a get request in .htaccess?
Hello! There is a link like example.com&refresh=true, you need to make a redirect from it to the main one. Tried this option - does not work.
RewriteCond %{QUERY_STRING} ^refresh=true
RewriteRule ^ /? [R=301,L]
Answer the question
In order to leave comments, you need to log in
you have a steering error.
https://donatstudios.com/RewriteRule_Generator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question