Hi, I'm currently trying to redirect non www- requests to my website http://www.deepsarchasm.com to www requests using the htaccess file. However, when I do that, it just goes back and forth between www and non-www and never stops (visit to see what I mean). Here's the stuff in my htaccess: Can anyone help?
Fixed it. Wordpress was thinking that the url is http://non-www/ Soon as I fixed it, it does the redirecting for me - so all is well.
You can try the below rules: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.domain.com$ RewriteRule ^(.*)$ http://www.domain.com [R=301,L] Code (markup): It should work. Kailash