How to 301 Redirect Non-www to www URLs
I have been following your tutorial of above and done the following
At htaccess file - added in code as follows :
# 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]
</IfModule>
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.mydome.com/$1
[R=301,L]
# END WordPress
However resulted :
This web page has a redirect loop
The web page at
http://www.mydomain.com/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Pls help urgently
Thanks