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
-
Any reason why an OSE spam Score is different for www and non-www versions of a site?
When checking the root domain links and DA in OSE pasted a non-www URL of my site and showed up with a spam score of 9. When I pasted the www. version it showed none. Does anyone think this is a cause for concern or just a bug?
Moz Pro | | insitemoz10 -
Need Help with www and non-www redirect
Hi everyone, I've been looking around the forum and found some similar topics but none of them have solved my problem. Anyway, I'm new to SEO and found that when I use Open Site Explorer for the www version of my site I see the links directed to my page, but none of my twitter stats show up. When I do the same for my non-www version. I see my twitter stats, but no links. Facebook seems unchanged. Also, the Page Authority is much higher for the www (I assume because of the links) It is my understanding that it doesn't matter which version of the domain is used, I just need to pick one and stick with it (on Google Webmaster Tools, etc.). And that I also need to do a 301 redirect for the version that I'm not using. The issue now is that I have a 301 redirect, and when I type in my url in any version (http, https, www, non-www) it all redirects in the browser without issue. So i know users are getting to the right page, but the Open Site Explorer still sees them as 2 different sites. My concern is that if Open Site Explorer sees it this way then Google may see it this way as well and I could be missing out on potential rankings. I'm currently doing the redirect in the .htaccess file. The redirect looks like this: RewriteEngine On
Moz Pro | | opstart
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mydomain.com/$1 [R=301,L] Any Ideas on what I need to do to properly 301 redirect the site so that my preferred version can get credited with the links,twitter, and Page Authority stats? Also, I'm using wordpress and it has the URL set to the non-www version of the site. However, I think I would like to change this to the www version because most of the links are directing to www, and I also think people are more familiar with that format. Anyway, sorry for the long post. Any help would be greatly appreciated. Thanks.0 -
Could client be skewing search results?
I'm working with a client that is searching Google numerous times per day for various phrases that his site may rank for. A lot of these he uses the same search phrase multiple times/day to see if there is any change. Unfortunately, these are not the phrases I have optimized his site for. Moz is now displaying some of these search phrases along with associated pages and grading them as F - because they are not optimized for these phrases. Is it possible that my client caused this by doing the searches? If I already have particular pages grading an A for the targeted term chosen, should I attempt to add elements to move the F to a better position for the new keyword phrase being suggested? (I always thought you should target one page/phrase. Thanks!!
Moz Pro | | JanetJ0 -
Mozbar SERP Control Panel Help: Export Results Option Not Available
Hi everyone. For some strange reason, the "Export" option is no longer appearing in my SERP Control panel when trying to export results from the SERP Overlay. It worked fine before SEOMoz changed over to Moz, but now the option is no longer available. Is there something I can do to restore this feature?
Moz Pro | | bashseo2 -
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 -
Getting odd results with MOZbar. (Some pages are 0,0,0)
I'm trying to review the Domain aurhotiry, Page Authority, and MozRank & Moztrust for some news websites and I found it odd that may sites will have excellent DA,MT,MR & PA on most of the pages but then when I view one of their blog posts the PA,MR & MT are 0. Here's are two examples Site
Moz Pro | | SheffieldMarketing
http://www.washingtonpost.com/lifestyle Individual Post
http://www.washingtonpost.com/lifestyle/home/checking-in-with-thomas-pheasant/2012/10/30/a2920ed4-1df5-11e2-ba31-3083ca97c314_story.html Site
http://www.philly.com/philly/living/ Individual Post
http://www.philly.com/philly/home/Home_Style_Silver_makes_holiday_decorations_really_shine_.html Does that mean that links from blog posts would not be very benificial? The domain authoity is still crazy high but everything elese is 0. Anyone know why? I'm new to using the Moz bar. Thanks0 -
Open Site explorer (last 1-3 updates) shows new and wierd results
Hi Moz'ers! I have a questions for you guys. Can you explain why the website "Netspiren" has a lower "domain Authority" than "Duft og Natur"? See screenshot. I know it's a tough question without a detailed analysis, but looking at OSE's data, does the mozrank,moztrust, C-block don't reflect the power of the Domain Authority. What's you take? BTW: "Netspiren" has always had more and better links, and also had a higher Domain Authority. Something about the Domain Authority changed since the past 1-3 OXE updates. Looking forward for your take on this! Have a good weekend! mnRPI.png
Moz Pro | | FrederikTrovatten220 -
Related Backlinks by Keyword SERP results
Is there no tool to search a keyword and find related backlinks among the top10,20,30 SERP results?
Moz Pro | | FirePowered0