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
-
Unsolved Anyone out there know MOZ well enough to provide a consultation on our results?
Hi Fans of MOZ, is there anyone out there that knows MOZ like an uber user and understands the details on crawl reports and what they mean? I'm looking for someone to review my MOZ results and give me some practical suggestions to work on with my SEO and web teams. Any takers?
Moz Pro | | NCPG
Bob Preston,0 -
I have a Forum, so as a result I have a lot of links Is that a problem?
I'm looking at my initial reports, and it says one of my problems is that I have too many links. should I be concerned? Because part of my site is a forum.
Moz Pro | | taychatha0 -
Is www.domain.com/page the same url as www.domain.com/page/ for Google? (extra slash at end of url)
Dear all, in open site explorer there is a difference the url's 'www.domain.com/page' and 'www.domain.com/page/' (extra slash at end). There can be different values in pageauthority etc. in the open site explorer tool, but is this also the case for Google? Thanks for replying, Regards, Ben
Moz Pro | | HMK-NL0 -
Site Explorer Results - Linking Domains Tab
I have a competitor who has the following Linking Root Domains numbers on the Linking Domains tab and was wondering if some one could explain what the numbers mean? opera.com - 205,515
Moz Pro | | bridgeway04-34677
dmoz.org - 97,752 prweb.com - 198,092 quantcast.com - 115,748 tinyurl.com - 443,540 jquery.com - 57,886 URL: http://www.opensiteexplorer.org/domains?site=www.verypdf.com%2F Thanks, Brad0 -
Can social results be downloaded in graph format?
Hi, I love the functionality of SEOmoz, although I wondered if I am able to download the social results in another form other than an excel spreadsheet? Thanks, Adam
Moz Pro | | adamgthorndike0 -
What is mT/mR good for In the keyword tool difficulty full report results?
So the ratio is MozTrust to MozRank, but what is this good for? What can I deduce from this and what can I use it for?
Moz Pro | | MarloSchneider2 -
Is anyone noticing a difference between Google position when you view ten and when you view a hundred results per page?
We have noticed a gap as large as 30 places when using UK Google. Interested in whether other people are seeing this and if anyone can offer an explaination. Thanks Turkey
Moz Pro | | Turkey0