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
-
Local search results reporting
Is there a way I can report on local search results for our keywords by city?
Moz Pro | | RPM5
For example could I specify Phoenix or Chicago and then see how we rank as if we did the search in that city?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 -
Exporting Google and Bing Search Results
Is there away to get a spreadsheet of the pages indexed for a certain domain in google and bing? i.e. I search google for Site:www.domain.com and I want to export a .csv file of all those domains/pages. Cheers
Moz Pro | | JohnW-UK0 -
UK Google Results .com V's .co.uk
In the UK lots of people use google.com rather than google.co.uk. See: http://weblogs.hitwise.com/robin-goad/2008/04/how_popular_is_googles_pages_from__the_uk_search_option.html The above data is a bit out of date but still I know lots of UK people who search on google.com. When I depersonalise the results and search there is a difference between what I see on google.com V's what I see on google.co.uk. Indeed one of the companies I work for ranks ok on google.co.uk, but not so well on google.com Questions: How would I best track ranking for UK based users who use google.com AND/OR google.co.uk using the SEOmoz tools (or other tools if appropriate)? I note that in "Google Webmaster Tools" you can change the setings to "Target users in United Kingdom". Given the fact that UK users use both google.com AND/OR google.co.uk would it be better to change this to unlisted or deselect the "Target users in" option? Thanks in advance. Justin
Moz Pro | | GrouchyKids0 -
Why Do Links, DA and PA have no affect on this search result?
When I type 'plumbing courses' into Google, why does Able Skills with these statistics: Page Authority: 57,
Moz Pro | | MartinHof
2,752 Links from 330 Root Domains
Domain Authority: 52,
575,594 Links from 1,211 Root Domains rank below other pages with inferior statistics?0 -
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 -
Confused by Google Mobile App (on Blackberry) results??!
First off, Hi guys I'm a new user here, in fact only in my second week of my trial period. However, I can assure you that I'll be continuing my subscription as this website is 'one hell of a bit of kit!'. Now, to my predicament. I have a website: http://www.limegreenofficeproducts.co.uk which I am trying to move on up the rankings in Google (just like everyone else...). Well, I have followed the instructions and guidance through the Campaign Manager and I have 'A' ratings now for a couple of my preferred keywords, namely 'Office Supplies' & 'Office Products'. I also have a number of textlinks with these exact terms, some quite powerful (I'm the only outbound link on a Homepage PR5 on one). Anyway, being a complete and utter control freak - I wake up in the morning and check my rankings using the Google Mobile App for Blackberry whilst throwing as much coffee as possible down my neck. Basically (if you're not familiar with this app, it is just the same as connecting to the mobile internet and carrying out a search - or at least it should be). Well I was really excited to find that I was ranking at No.41 for 'Office Supplies' and No.17 for 'Office Products'. When I fully woke up and ventured to the office, I checked on the Mac through the normal Google UK and I'm nowhere, for either? What makes it even more confusing is that the results on the mobile seem to be intermittent - so if I check at 11.00am I'm No.17, 11.05 I'm nowhere, 11.10 back to No.17 - but only on the Mobile App. I have the Mobile App set up to Google UK, so that can't be the problem. I'm just wondering if either the Mobile App is ahead of the 'Real' Google UK results, or behind.The main reason for asking, is so that I can establish whether what I am doing is having a positive, or negative effect on the rankings. And if this is an quicker way to find out - then great! I assume the advice to come back will be '..ignore the mobile app..' but as it's being kinder to me than the 'Real' Google I'd like to be a bit kinder to it, and give the little fella the benefit of the doubt. But having said that I just checked the search results (Top 1000) for Keywords 'Office Supplies' & 'Office Products' - For Office Products the site was No.614 and for 'Office Supplies it wasn't in the top 1000, ouch. I know these things take time, as I have worked on a couple of other sites of ours and it seems that as soon as you are about to throw the towel in, the results just kick in. I'm not expecting miracles overnight, far from it - but it has me really confused. Does anyone have any suggestions/advice?(except '...get a life coffee fiend') Regards Limegreen
Moz Pro | | Limegreen0