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
-
I bought a 5 year old domain and has a spam score of 23%.....
A few months ago i bought a 5 year old domain and when i went to check in Moz pro the spam score, it shows its at 23%. DA is 1 everything else is 0. The spam score shows 23% but there are no links at all for this website (see image) https://imgur.com/a/3lHjLEh I don't understand, there are no links at all going to this website. I checked google search console, analytics and tried looking for any links linking to this domain and there is none. Even Moz isn't showing any links in the picture i provided above. Is this a glitch? Can i reset my spam score on this domain? Does that mean i wasted my money on this domain and now i can't rank with it? Is there something im missing here. I also checked is there are any warnings or manual actions and it clearly says "No issues detected". A few months earlier i bought a brand new domain very close to the 5 year old domain (new domain has a z instead of an s) and the spam score on that is 0 and DA is 1. Given that the 5 year old domain has a 23% spam score, does that mean i should use the other new domain instead and redirect the 5 year old domain to the new website?
Moz Pro | | Nor1230 -
If I have set up my www as a cname, do I still need to add a redirect?
Hello, I am trying to minimize my redirect chains that have been popping up in my Moz crawl issues. So I'd like to get clear on some best practices. I have a few clients that are getting their first redesign in a while. We are moving into Wordpress from good ole .html files. So I've installed a redirection plug in to create 301 redirects for those .html versions of the pages. But apparently I am already redirecting from www to non-www. I have the www set up as a CNAME going to the IP address - is that counting as the redirection? Sometimes though, the www is set up by making it an A record. Is one way better than the other? Finally, I'm forcing https for all my new sites now. Is whatever the host does to "force" https also counting as a redirect and contributing to my chain? Any advice will be appreciated!
Moz Pro | | Dandelion0 -
Domain or Category Links for E-Commerce Page?
I am trying to rank with my page on a major keyword for my E-Commerce store. Currently, I am ranking on page 4 in SERP:
Moz Pro | | soralsokal
mydomain.com/category-for-major-keyword Now when people like to link to me, what should I do? Shall they link to: mydomain.com or mydomain.com/category-for-major-keyword What brings me more in terms of ranking for that keyword with my category? Thanks, Robin1 -
How is domain authority related to country top level domains?
I've noticed that for some country top level domains (tld) the domain authority returned by open site explorer is based on the domain that has been registered within the tld. For example, domainname.co.uk provides a domain authority specific to the domain. However, for some other country top level domains, this does not appear to be the case. Examples I have found include: domainname.co.nr domainname.co.pt domainname.co.ee For these top level domains the domain authority seems to be the same for every domainname, seemingly implying the domain authority is for the top level domain itself rather than for the domain. Is this a common situation for many country top level domains, so that what I see going in here is the tip of a large iceberg, or does this situation just apply to a very isolated set of country top level domains?
Moz Pro | | MichaelCorfman0 -
How do I fix a duplicate content error with a top level domain?
Hi, I'm getting a duplicate content error from the SEOmoz crawler due to an issue with trailing slashes. It's showing www.milengo.com and www.milengo.com/ as having duplicate page titles. However I'm pretty sure this has been fixed in the .htaccess file since if you type in the domain with a trailing slash it automatically redirects to the domain without a trailing slash, so this shouldn't be an issue. I'm stuck here. Any ideas? Thanks. Rob
Moz Pro | | milengo0 -
Www, non www, 301 redirects, Google webmaster tools & SeomozPro
arg! Any help on this topic would be greatly appreciated! This is in regards to sheffieldfurniture .com In October of 2011 I had our host set up a redirect for our site so all non www requests would be redirected to the www version and it works great (so it seems at least) Recently I signed up for SEOMOZPRO and when I started trying to track my organic results for various keywords I realized that Google has my site indexed in the non www format. Is this a problem? I’ve read you can tell google what your preferred domain is in Google Webmaster Tools, is that what I should be doing? Are there any negatives to doing that? I’m just confused as to why Google hasn’t noticed or acknowledged the redirect in 4 months. It makes me wonder if something isn’t working properly? I have since added a second SEOMOZPRO campaign with the non www version but I’m worried about having historical tracking issues if I then tell google to use the www version…
Moz Pro | | SheffieldMarketing0 -
Impact of 301-redirected domains on OSE Metrics
When looking at the OSE metrics (DA, PA, Number Linking RDs etc.) is it purely based on OSEs evaluation of the specific domain or will it take into account links that have been 301-redirected to the domain?
Moz Pro | | bjalc20110 -
About the rankings report in the Pro Dashboard, does it track the ranking of every page on a root domain, or just the home page or whichever page you set up the campaign with?
I noticed that one of the pages on my root domain has a #5 rank for a keyword, yet the ranking report says that there are no results in the top 50. So I am assuming it is only tracking the home page. That is one thing I liked about the Rank Tracker, that it would find any page that was ranking on a root domain. Thanks, Lara
Moz Pro | | larahill0