Domain redirect seo
-
Hello,
my domain www.pacomarca.com and when i start the new campaing i get this pronblem:
We have detected that the domain www.pacomarca.com and the domain pacomarca.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here.
my domain is in networksolutions.com.
how can i resolve it?
many thanks
Gonzalo
-
Hi,
I'm not to sure on the networksolutions.com domain control panel, so I'm not to sure if this can easily be done by simply saying "point this to this", but it can definitely be done in an .htaccess file like so:
Redirect non-www to www.
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^pacomarca.com [NC]
RewriteRule (.*) http://www.pacomarca.com/$1 [L,R=301]Redirect www to non-www
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.pacomarca.com [NC]
RewriteRule (.*) http://pacomarca.com/$1 [L,R=301]Either one will work, just depends on which "version" (www or non-www) of the site you would want to use. Also, make sure that which ever one you go with you stick with. So if your site is with the www, make sure that any links you have internally also point to the url with www..
Hope this helps! Let me know if you need any more information.
-
Hi Gonzalo, I had just analyze your website both www & non www. I had come up with following perspectives that are shown below:
URL: http://www.pacomarca.com/
PR: 4
Alexa Rank:18752550
Backlinks: 32
&
PR: 4
Alexa Rank:18767880
Backlinks:114
From the above analysis it is clear that the non www has more number of backlinks, so it is better to redirect www to non www.
Redirecting www to non-www
If you want to do the opposite, the code is very similar:
`RewriteEngine On RewriteCond %{HTTP_HOST} !^my-domain\.com$ [NC] RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]`In this case we are explicitly typing the domain name. I'm sure it's possible to do it in a generic way, but I haven't had the time to work one out and test it. So remember to change 'my-domain' with your domain name!
If you want to know how to redirect the inner page then please check the link:
How do I redirect all visitors to the 'www' version of my Web site (or vice versa)?
I hope that your query had been solved.