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
-
Open Site Explorer produces better results for www.50campfires.com than 50campfires.com
Our website url is 50campfires.com and www.50campfires.com redirects to 50campfires.com Look at the Open Site Explorer results for the two and www.50campfires.com has better results. Does google have an issue with this or may it be confusing them? We have redirects in place. How would I go about fixing this? More on what strategies would improve Page Authority and Page Rank. Thanks in Advance. 79JtBKA.png lrHwsOU.png
Moz Pro | | revonick0 -
What are the factors that have an impact on the google search results?
When I compare the ranking of my keywords with the Moz Rankings and my own search results I get different results even I use the google chrome incognito browser (not logged in, no cookies, no cache) and it's definitely the same country-setting (google.de) where the search is run. I double checked it with several browsers and computers, and I still get a different result as the Moz Ranking Tracker. The keyword is "schafkopf" and the site is www.sauspiel.de. The relevant country is Germany (www.google.de). Does anyone know the reason why the results differ? Could it be the search query was made from different countries/IPs? Any ideas, hints?
Moz Pro | | sauspiel0 -
Week ending 10/28 - zero organic results?!?!
According to my Google Analytics account - this is not correct - but SEOMoz is reporting on the dashboard that I had a 100% decrease in organic search visits - a paltry zero visits in one week. Is there a known issue or something that SEOMoz is working on?
Moz Pro | | csingsaas0 -
Why are results different on Rank Tracker tool and New Rankings Weekly Reports?
Good Morning... Every week i get an email from SEO Moz that is showing me where the keywords i am tracking are currently in the SERPS (New Rankings and On-Page Reports)... Is there a reason that the current rank shown on these emails would be so different than what is shown when i use SEO Moz's rank tracker? For example, it shows one keyword has a rank of 48 (via email) and a rank of 16 through the rank tracker. What would cause such a great discrepancy? Thanks
Moz Pro | | Prime850 -
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
Moz Pro | | innofidelity0 -
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 -
Help Understanding Crawl results on this site
I'm just starting to SEO this site http://thefirmbusinessbrokerage.com/welcome and I'm having trouble with the crawl report data. First question, should I be building links to the site above or the main page http://thefirmbusinessbrokerage.com/ (which is a flash intro). If I build links to the flash page, what do I do to the forwarding URL to the welcome page to make it effective? Second question, why does the crawl data report show up almost completely blank? Is this site perfect or are there some onsite issues that I'm not seeing. Thanks for your support and guidance on this site. I'm not hosting the site, just building links and offering optimization advice onsite. JOE
Moz Pro | | KreativElement0 -
Why did the crawl last night not show the same results i see in google?
Last night my keywords were crawled and it shows me that a key word is ranked 14. For 3 days now it has been rank 4 or 5. Is there a reason this is not accurate? I have not checked the rest of my keywords so i am not sure about those. Thanks
Moz Pro | | tom14cat140