apache - htaccess string query - redirect only from home but carry params -


so need redirect when these params in url home...because need hold on params after redirect happens, not want redirect triggered on , on because params met. please help, many thanks!

from: /?color=blue&derps=many&db=true

to: /path-to-direct-to?color=blue&derps=many&db=true

<ifmodule mod_rewrite.c>     rewriteengine on     rewritecond %{request_uri} /     rewritecond %{query_string} ^color=blue&derps=many&db=true     rewriterule ^ /path-to-direct-to [r=301,qsa,l] </ifmodule> 


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -