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
-
Woocommerce filter urls showing in crawl results, but not indexed?
I'm getting 100's of Duplicate Content warnings for a Woocommerce store I have. The urls are
Moz Pro | | JustinMurray
etc These don't seem to be indexed in google, and the canonical is for the shop base url. These seem to be simply urls generated by Woocommerce filters. Is this simply a false alarm from Moz crawl?0 -
Universal results not in pdf or csv reports
Right now, the universal results show up when I look at tankings on the site, but do not show up at all in the weekly pdf reports. They also did not appear in the full rankings history .csv report. They only appear in the weekly csv report, and then, the information is not as detailed as it is on the website (it only shows whether a universal exists, but doesn't indicate at what position it shows up). This limits the usefulness of these reports to my customers. I need to be able to show them rankings histories, including universal results, in their monthly or weekly reports. Including the charts would be nice as well. Since I can individually download the .pdfs for these for each keywords, why can't we just include it in the monthly reports. Also, would like to be able to view rankings history for all three search engines at once for a keyword, or multiple keywords to reduce the number of pages in a report. Can you add this feature?
Moz Pro | | HMS0 -
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 -
TLD Link Distribution and Words per page location
I was wondering where the bar chart is located for the TLD Link Distribution? Te one that shows my site and my competitors that i included. Looks like the chart is called "Distribution % of Total Links" I am also looking for the "words per page" bar chart?
Moz Pro | | jginteractive0 -
Historical search engine results
is there any tool that can be used to view search engine results on a given day in history for a particular term?
Moz Pro | | matmox0 -
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 -
TLD vs Sub Domain in Regards to Domain Authority
I have always been under the impression that top level (or root) domains can hold different domain authority than that of a sub domain. Meaning that sub domain's and TLD can hold different ranks and strength in search engine result pages. Is this a correct or just an assumption? If so when i add a root domain and subdomain into the campaign manager i get back the same link information and domain authority? www.datalogic.com
Moz Pro | | kchandler
www.automation.datalogic.com Have I made an incorrect assumption or is this an issue with the SEOMoz campaign manager?0 -
Bing ranking my non-www version of my site.
My site is ranking #1 on Bing for the non-www version of my homepage, but this is not showing in my ranking stats, since the site is setup in SEOMOZ as www version. Do I have to create a whole new campaign for the non-www version or is there a way to pickup these rankings?
Moz Pro | | pdlcom0