.htaccess - htaccess redirect from one url to another url -


i bit stuck 1 redirecting 1 url url.

i want redirect

http://samedomain.com/?abc 

to

http://samedomain.com/news/title 

any highly appreciated. in advance.

this rewrite rule redirect http://samedomain.com/?abc http://samedomain.com/news/title:

rewriteengine on rewritecond %{query_string} ^abc$ rewriterule ^ /news/title/? [l,r=301] 

Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -