My site is
http://www.ingeniumcr.com, and I wanted to redirect anything
http://ingeniumcr.com to
http://www.ingeniumcr.com. This did the trick:
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.ingeniumcr\.com [NC]
RewriteRule ^(.*)$
http://www.ingeniumcr.com/$1 [R=301,L]
However, my wordpress blog, whose URL is
http://www.ingeniumcr.com/resources/wordpress/ redirects to
http://ingeniumcr.com/resources/wordpress/ which redirects to
http://www.ingeniumcr.com/resources/wordpress/ and loops.
Any idea on what I am doing wrong?
Thanks.