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
-
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 -
Google results not close to matching MOZ PA and SA - Why?
I'm trying to convince a boss and another client/partner of the value of MOZ, but it's a challenge when Google's results and the MOZ analytics are way off. For example, when I do non-personalized (MOZ toolbar) Google search for "stair lift kansas city" I see some results that make sense. Further down the page I see my prospective client, kclift.com -- it's a new site with poor MOZ grades and almost no backlinks. It has a PA of 1 and a DA of 4. Yet it ranks above a YP site that has a DA of 89, and another site that has a PA of 27 and a DA of 14. What gives? When I used an in-private Bing search for those terms this site didn't display in the 1st 4 pages. That makes sense with these MOZ rankings and the new site. So how does the site get page 1 results on Google for the same terms? (I should note that I've gone to this site a lot, for the client, and done other related searches. I live in Charlotte, which is why I've included Kansas City in the search terms. With this search, I've tried several ways to do a Google search that is truly anonymous, but I'm not sure I've succeeded. I've erased browsing data, used incognito, used other browsers, and used the MOZ non-personalized Google search. All from the same IP though. Does Google track that? If so, how can one do a truly anonymous search on Google?) All suggestions welcome. Thanks! Richard S.
Moz Pro | | RFS550 -
Howcome my target country (Kuwait) don't appear while im trying to create a campaign? www.google.com.kw.
im in kuwait and already getting good results in the local google search engine, but howcome you dont have my local search engine in your country list www.google.com.kw when using your rank tracking tool thank you PGFHRAlGu
Moz Pro | | WeKnowDigital0 -
Why doesn't OSE show results from sites like Wikipedia, YouTube, Twitter, etc.?
I know OSE used to provide link data from these domains. But I have been doing link profile lookups on sites that I know have links from these domains - and they don't show up in my results. Just to make sure, they don't even show up when I sort the sites by domain authority.
Moz Pro | | ProspectMX0 -
Rank Tracking results
Hi, Some problem with rank tracking from research tools: I rank #1 for this keyword "w immo" for URL : http://www.wimmobiliere.com in my campaign monitor (ranking tab) In rank tracking for the same Search Engine (google.be) i am not in the 50. Do you know why? Some images that might help... Rank_1<a class="attachment-title">Rank 1</a>Rank_2<a class="attachment-title">Rank 2</a>
Moz Pro | | VOUS0 -
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 -
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