Answer the question
In order to leave comments, you need to log in
How to define get requests in htaccess?
Hello World! There is a get request http://example.com/?page={some_parameter}
how can I make a redirect through htaccess when this type of get request comes in?
Answer the question
In order to leave comments, you need to log in
# example.com/?page
RewriteCond %{QUERY_STRING} ^page
RewriteRule ^ /not_found? [R=302,L]
Decided like this, if there are better options?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question