Domain redirection www or without
-
when i start campain for the first time it says "
"Roger has detected a problem:
We have detected that the domain www.xxxxxxtour.com and the domain xxxxxxtour.****.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."
How to resolve this and how can i redirect xxxxxxtour..com to www.xxxxxxtour.com ?
Thank you
-
If you use Apache, reference the SEOmoz article cited above.
If you use Nginx, reference this article.
Another "fix" is to use a canonical tag to suggest to search engines which version to index. SEOmoz will still detect a problem, but you'll be fine from a search engine perspective.
-
The answer depends on how your DNS is set up. Usually it's simply adding a CNAME to your DNS information. Who is your domain name registrar?
-
I would redirect to the www version because it is more common. To do this just add the code in your htaccess file.
This should help:
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Redirection
Hi I used to have an online shop at https://shop.domain.co.uk. I have since done a new website and and want to divert all traffic to https://domain.co.uk/shoppage. The old shop was a subdomain but the new site has a shop on the normal domain. In Moz I am getting a lot of errors with missing descriptions and URL too long. so for example one of the urls <dl class="crawl-page-details-list"> <dd class="crawl-page-details-list-emphasis">https://shop.domain.co.uk/product-category/great-merchandise/?product_order=desc are like this. I would like to redirect them all to the new shop page. </dd> <dd class="crawl-page-details-list-emphasis">The missing descriptions are all similar. </dd> <dd class="crawl-page-details-list-emphasis">Is there a way I can redirect all these issues without doing them manually?</dd> <dd class="crawl-page-details-list-emphasis">Thanks </dd> </dl>
Moz Pro | | Paul_YAS0 -
PA up for one domain and still no movement on the other two!
Hey guys! Just wanted to see if anyone can help me on this one! I have zenory.co.nz the PA on this is 21 and DA is 10 however my other two domains com and com.au have been stagnant at both PA and DA at 1 - any reason why this might be?
Moz Pro | | edward-may0 -
Why are there significant changes in the amount of duplicate content without any known action?
I've noticed a surprisingly rapid change in duplicate content over the past month. I'd noticed ~6,000 instances of duplicate content, after disavowing bad links we went down to 3k, this makes perfect sense to me. But after that, without doing anything whatsoever, from last Thursday, the 20th, to yesterday the instances of duplicate content decreased again down to 2k. Could this just be a delayed indexing of pages or are there other factors here? Thanks for the help.
Moz Pro | | allurez0 -
Campaign Domain "change" (www. vs no www.)
Hello, I'm tracking a domain (with www.thespin.be) since months. Last week we changed things related to domain & server and now SEOmoz has 0 pages crawled. I think that's because now my main domain is without www. (thespin.be). How can I modify my campaign to reflect this "change" (that's not really a new domain..) to avoid losing all my campaign history ? Also, on Google Webmaster Tools it's like I have 2 different sites (one with www. and another without), although I've defined my favorite domain (without www.) months ago.. Google won't update its index. And I have this problem on several other sites.. Thank you very much for giving me a feedback. Regards Jean-Louis
Moz Pro | | JeanlouisSEO1 -
Bad code on Learn Seo Redirection info Page
Is it just me, or is the Redirection resource page missing the exclamation point (!) in this code. If so, this could really mess someone's site up if they copy and paste. http://www.seomoz.org/learn-seo/redirection http://screencast.com/t/n7lknZ32G9xF Redirecting Canonical Hostnames: The original developers at SEOmoz needed to redirect any requests that do not start with www.seomoz.org to make sure they included the www. They did this not only because it looks better, but to avoid common canonicalization errors. Redirect: http://seomoz.org/To: http://www.seomoz.org/ Redirect: http://mail.seomoz.org/To: http://www.seomoz.org Redirect: http://seomoz.org/somefile.phpTo: http://www.seomoz.org/somefile.php Solution: Add the following directive: RewriteCond %{HTTP_HOST} ^seomoz.org [NC]RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301] Explanation: This directive tells apache to examine the host the visitor is accessing (in this case: seomoz.org), and if it does not equal www.seomoz.org redirect to www.seomoz.org. The exclamation point (!) in front of www.seomoz.org negates the comparison, saying “if the host IS NOT www.seomoz.org, then perform RewriteRule.” In our case RewriteRule redirects them to www.seomoz.org while preserving the exact file they were accessing in a back-reference. *emphasis added by me
Moz Pro | | squareplug0 -
Change campaign domain name
I have just changed the domain name on one of my sites, can i change the domain name of the reletive campaigns and keep the data, or do i have to set up a new campaigns?
Moz Pro | | AlanMosley0 -
Crawling a website with redirects
Hi, I started a campaign for a website which uses multiple redirects before showing the real content. in the crawling report only one page is crawled. Is there a way to let the crawler pass the redirects to get usefull reports? The website is www.cegeka.be Thank you
Moz Pro | | Cegeka0 -
Is there anyway i can change a campaign setting from root domain to domain?
Is there anyway i can change a campaign setting once it has been established from root domain to domain? I could just start a new campaign but that seems a bit of a pain.
Moz Pro | | pancakes0