.htaccess - Redirect a page in htsccess -


i want redirect

m.sample.com/?articulo=something

to

http://www.sample.com/camisetas/something.html

try code :

rewriteengine on rewritecond %{http_host} ^m.sample.com$ rewriterule ^\?articulo=(.*)$ http://www.sample.com/camisetas/$1.html [r=301] 

Comments