My 301 redirect via htaccess code is not working sometimes

Posted by Gagan Modi on Stack Overflow See other posts from Stack Overflow or by Gagan Modi
Published on 2012-10-03T09:36:03Z Indexed on 2012/10/03 9:37 UTC
Read the original article Hit count: 264

Filed under:
|

The 301 redirect is working sometime and somes time not What could be the problem in below code its over a week now

RewriteCond %{HTTP_HOST} ^usedcarindelhi\.com$ [OR]

RewriteCond %{HTTP_HOST} ^www\.usedcarindelhi\.com$

RewriteRule ^/?$ "http\:\/\/www\.mycarhelpline\.com\/index\
.php\?option\=com_usedcar\&view\=category\&Itemid\=3\&location\=delhi" [R=301,L]

i basically need to move usedcarindelhi.com & www.usedcarindelhi.com to

http://www.mycarhelpline.com/index.php?option=com_usedcar&view=category&Itemid=3&location=delhi

Sometimes the 301 redirect is working making me go to mycarhelpline n sometimes am find myself on usedcarindelhi

can someone help in this pls Thanks

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about redirect