Www.mydomain.tld same as mydomain.tld - unexpected results
-
Hi
I set up a campaign to monitor a website and chose to track the root domain, however the report showed every single page on my website was duplicated with itself when seen as www.mydomain.tld as opposed to just mydomain.tld.
I deleted the campaign and set it up to monitor only the www.mydomain.tld as I don't use any other subdomains, however in Bing results the website is listed without the www and so is not recognised in the ranking checker.
How can I set it up so that seomoz recognises the pages as the same either with or without the www?
-
Excellent response THB. We do both for all sites.
-
Hi Pandy
Set your htaccess file to redirect all non www variants to the www ones (or vice versa depending on which you'd prefer). That should prevent the seoMoz 'bot' from reaching the 'wrong' ones(and also make sure search engines don't too.
On a side note - if Bing has your pages cached without the www and you want to go with the www variants then I suggest you first do a 301 redirect of all the pages and the domain itself so you don't lose out on any traffic and links built etc
Edit : going to leave my reply even though it seems THB beat me too it(only just though!)
-
To handle this you need to setup a permanent redirect from mydomain.tld to www.mydomain.tld (or vice versa).
If your site is running Apache you can use a .htaccess file do handle this.
Simply create a file called .htaccess (make sure when you save the file you are not saving it as .txt as that with append the .txt to the file like so: .htaccess.txt which you do not want; save as 'All Files' or whatever), and save it to your public_html directory, or whatever your web root is.
Add the following:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.mydomain.tld$ [NC]
RewriteRule ^(.*)$ http://www.mydomain.tld/$1 [L,R=301]
That should now effectively keep your site from being broken into 2.
Google also recommends you create two(2) Profiles within Google Webmaster Tools, one for the www. and one for the non www. where you can then specify under "Site Configuration > Settings > Preferred Domain" which method you have chosen as per your .htaccess file.
Hope that answers your question.
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
-
How to add my company in google search search result in bangalore (INDIA)
Hello, i want to add bangalore which is a district in INDIA to moz so that people searching from that bangalore would find our company listed in google search .Happens to be that i am not able to enter any locations apart from USA. It would be of great help if you could assist us in doing the same.Also wanted to know how how to target preferred locations in India. Thank you
Moz Pro | | Jabez0 -
Google shutting down Rank Tracking Software? - Raven and AHREFS close down ranking results.
Hi, I was wondering if other people had noticed the (very sudden) closing down of the ranking tools for both Raven and Ahrefs - both of which were major parts of their software. Given the sudden and synced timing my guess is that Google is throwing its weight around and banking on the doors of companies offering ranking software with the threat of a fat lawsuite! What is everyone else using for their rank checking ? Will this impact SEOMOZ ranking results ?
Moz Pro | | James770 -
Why am I getting different ranking results on Google?
Because the rank checker on SEOMOZ is temporarily down for upgrade, I followed the link over to the other suggested rank checker on seobook.com which installs a plug-in to Firefox and it seems to be working fine….BUT my question is when I check out my two highest traffic keywords which are “Whitby holiday cottages” and “Whitby cottages” against my website www.endeavourcottage.co.uk it tells me I'm ranking position 2 on both Google.com and Google.co.uk but I don't think I am. When I do the same check using a proxy server called hidemyass.com to check my rankings again on Google.co.uk and .com I appeared to be lower down the rankings like position 8. Does anyone have any idea of which is the accurate reference to my rankings? What do you do to check your rankings ? And one last quick secondary question is when I searching Google chrome using same key words again I come at the top position A on the Google maps listing but using Firefox or Internet Explorer there is no Google maps visible ways that? At the end of the day out rankings are important but where are working towards more traffic...... Cheers
Moz Pro | | whitbycottages0 -
Confused on www vs non-www
Hey Everyone... Really new to the SEO world and have learned tons each day. When I joined SEOmoz I went to my host and set up the 301 direct to have frogfanreport.com go to www.frogfanreport.com. After a couple of days I noticed that Rogerbot only crawled 1 page on www.frogfanreport.com. Looked into the community posts to try to find an answer. So, I went in and took the 301 direct off and setup a new campaign just for frogfanreport.com. It has now crawled over 300 pages. Not sure what I need to do or if I just did not set it up the 301 direct correctly. Looking at the link stats the root domain stats are obviously the same. The subdomain stats is where there is a big difference: www: ext f links 1, total ext links 5, total links 5, f root domain 1, total linking root domain 4 non-www: ext f links 76, total ext links 109, total links 7.962, f root domain 11, total link root domain 19 I am guessing that I should go back in and put the 301 direct from www to non-www? Is this going to affect RogerBot going in? Or did I just not set it up correctly? zach
Moz Pro | | TCUFrogFanReport0 -
Why is the Rankings Report of SeoMoz always show inaccurate results?
I have been using SEOmoz PRO tool from last two months but I am not happy with the SEOmoz PRO Ranking Report.The results are very inaccurate and I am not able to understand why there is such a difference in the ranking results when SEOmoz tracks and when I track?Please reply at the earliest. Regards, Prashakth Kamath
Moz Pro | | 1prashakth0 -
Why do I see different ranking results for Bing and Yahoo?
If Bing is running the Yahoo search results then it seems to me the ranks for both Bing and Yahoo should be the same. So why are my SEOmoz ranking reports showing different positions for each?
Moz Pro | | Thos0032 -
Site recently updated- are my campaign results really accurate?
I recently updated a website and it seems as though my campaign results are not accurate. I feel that the more I learn about SEO, the less I know (if that makes sense?). Every time I check my campaign results for this site I feel like I am missing something but just don't know where to begin. The site is aphroditedesserts.com For example, "aphrodite desserts" is one of my keywords. When I type that into Google, it automatically pulls up the site as #1. But in my campaign, it shows that "aphrodite desserts" does not rank in the top 50 for google. Why is this? (I know there is a lot I could do to improve the SEO keywords on this site, but I am limited because of the client's budget.) However, if I could just get a handle on the answers for these types of issues, I think I would feel much more confident as an SEO specialist. Right now I feel more like a fraud. =( Any insight into what may be causing this would be greatly appreciated! Thank you.
Moz Pro | | RuthWrites0