301 Redirect for Hyphenated domains - Help
- SEO |
I have a domain seo-experts-india.in which is in wordpress blog. I tried all possible ways to redirect it from non www version to www version by editing .htaccess file . The .htaccess file will look like this :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
I have added codes like this in .htaccess file
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^seo\-experts\-india\.in [NC]
RewriteRule ^(.*) httpwww[dot]seo-experts-india[dot]in/$1 [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
and
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^seo-experts-india.in [NC]
RewriteRule ^(.*)$ httpwww[dot]seo-experts-india[dot]in/$1 [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
note:[Dot] I m using because i cannot post links in this post
But all these case web browser not able to complete the request and resulting an error "This webpage has a redirect loop
The webpage at www[dot]seo-experts-india[dot]in 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."
If any one knows this fix please provide the exact steps. its urgent
If you were disappointed in your results today, lower your standards tomorrow.