apache - Bulk 301 Redirect for URLs with Query Strings -


this first post hoping can help. have found similar answers nothing try seems work. have redesigned client website, old site old. has lot of redirects needed , site had lot of query string urls.

i need 301 redirect in bulk urls have following in url:

/suppliersearch.php?start={query string} 

to

/wedding-directory 

everything have tried has been ignored redirect.

any great.

rewriteengine on rewritecond %{query_string} ^start= [nc] rewriterule suppliersearch\.php$ /wedding-directory/? [r=301,l,nc] 

if apache 2.4 or later; can use qsd flag instead of redirection ..directory/?.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -