Can anyone show me how to modify my .htaccess file so I can redirect my non-www to www. Please take a look below. My site caught an error "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects."
My .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} !^www.mydomain.com$
RewriteRule ^(.*)$
http://www.mydomain.com [R=301,L]
</IfModule>
# END WordPress
My Permalink settings
/%category%/%postname%/