Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. Google is mixing subdomains. What can we do?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Google is mixing subdomains. What can we do?

    Intermediate & Advanced SEO
    4
    19
    2593
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • fabrizzio
      fabrizzio last edited by

      Hi!

      I'm experiencing something that's kind of strange for me.

      I have my main domain let's say: www.domain.com. Then I have my mobile version in a subdomain: mobile.domain.com and I also have a german version of the website de.domain.com.

      When I Google my domain I have the main result linking to: www.domain.com but then Google mixes all the domains in the sites links.

      For example a Sing in may be linking mobile.domain.com, a How it works link may be pointing to de.domain.com, etc

      What's the solution? I think this is hurting a lot my position cause google sees that all are the same domain when clearly is not.

      thanks!!

      1 Reply Last reply Reply Quote 0
      • iQandil
        iQandil @fabrizzio last edited by

        Please do go through this link which has a wealth of information and its by Google so nothing better to trust:

        But yes for Brazil related pages use

        <meta http-equiv="content-language" content="pt-br"> </meta http-equiv="content-language" content="pt-br">

        and

        1 Reply Last reply Reply Quote 0
        • fabrizzio
          fabrizzio @iQandil last edited by

          So your suggestion is to use something like this:

          <meta http-equiv="content-language" content="pt-br">and the expression br-PT constructed the first part with the website language and geodetecting the second part of the string (the PT)?</meta http-equiv="content-language" content="pt-br">

          iQandil 1 Reply Last reply Reply Quote 0
          • iQandil
            iQandil @fabrizzio last edited by

            Hi,

            I understand you dont have two website, but you said somewhere you are using subdomains. For search engines every subdomain is a completely different DNS recored, so treated as a different website.

            No one is saying you need to translate your website, however, the changes above need to be done to whatever languages you already have. You would need an army of people to translate to all languages and of course a million USD! Haha!

            As I said before, language approach is not enough, you need to use the locale approach too. For example, English is spoken in many countries (like Australia, Canada, US, UK, New Zealand, South Africa). Same as German and a few other languages, so if you dont couple language with country, search engines will get confused.

            I hope this helps

            Issa

            fabrizzio 1 Reply Last reply Reply Quote 1
            • fabrizzio
              fabrizzio @iQandil last edited by

              But I don't have two websites for portuguese. I have one.

              Same happens with German. It is not only speaked in Germany, Austria also has a big part of the country speaking German.

              I can't translate my website into all different countries and language variations. I already have more than 10 so I can tell that is hard to maintain 🙂

              Basically what sounds contradictory to me is that I'm not using a country approach but a language approach like many websites. But still Google is getting confused with it.

              iQandil 1 Reply Last reply Reply Quote 0
              • iQandil
                iQandil @fabrizzio last edited by

                Hi again,

                First of all, canonicals are not enough but definitely its good that you use them.

                Alternate rel link tag is very important. Read this link please: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077

                As for the XML sitemap, do you use the language markup for each link there? If you want to know how to do that follow this link: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2620865

                As for the Portugal and Brazil subdomains, using webmaster tools will surely solve this issue, but even with the language rel tag you have to use different language codes, so "pt" is incorrect, you need to specify the locale as well, so "pt-BR" for Brazilian Portuguese and "pt-PT" for European/Continental/Portugal Portuguese

                I hope this clears things up.

                Sorry there is no easy way 🙂

                Best,

                Issa

                fabrizzio 1 Reply Last reply Reply Quote 0
                • fabrizzio
                  fabrizzio @iQandil last edited by

                  Thanks for the answer.

                  Of what you suggested, I have canonicals and content language meta tag.

                  I haven't tried the yet. Maybe that helps.

                  I have sitemaps too.

                  The problem I see with geotargeting with WM is what I mentioned above. Portugal and Brazil share the same language: portuguese. But in webmaster tools I can't say pt.domain.com is intented for Brzil and Portugal. I need to pick only one.

                  iQandil 1 Reply Last reply Reply Quote 1
                  • fabrizzio
                    fabrizzio @irvingw last edited by

                    Exactly that's the issue. For example I go to google.com.mx and I see my domain spanish domain with sitelinks pointing to my dutch domain!

                    The problem I see with geotargeting with WM is what I mentioned above. Portugal and Brazil share the same language: portuguese. But in webmaster tools I can't say pt.domain.com is intented for Brzil and Portugal. I need to pick only one.

                    1 Reply Last reply Reply Quote 0
                    • iQandil
                      iQandil last edited by

                      Hi Fabrizzo,

                      There are a few things you will need to do to help Google make a decision of which part of your website (whether its a subdomain or a subfolder). For example on the mobile-friendly website you will need to use the HTML annotation:

                      And on the desktop site you will need to add the canonical meta:

                      This way, you are telling google that  these two pages are the same pages, but one is for mobile and the other is for desktop users.

                      As for countries websites, you this is what Google looks at when they crawl your web pages:

                      • ccTLDs (country-code top-level domain names).
                      • Geotargeting settings. You can use the geotargeting tool in Webmaster Tools to indicate to Google that your site is targeted at a specific country. (If you have different subdomains then create a separate profile for each on Webmaster tool and assign each to a different country.)
                      • Server location (through the IP address of the server). The server location is often physically near your users and can be a signal about your site’s intended audience.
                      • Other signals. Other sources of clues as to the intended audience of your site can include local addresses and phone numbers on the pages, the use of local language and currency, links from other local sites, and/or the use of Google Places (where available).

                      (Source for this is Google support article #182192

                      In your situation i think you will need to 1) Use a dedicated Webmastertools profile for each countries domain. 2) use rel="alternate" hreflang="x" (see examples below)

                      • HTML link element. In the HTML  section of http://www.example.com/, add a linkelement pointing to the Spanish version of that webpage at http://es.example.com/, like this:

                      • HTTP header. If you publish non-HTML files (like PDFs), you can use an HTTP header to indicate a different language version of a URL:

                        Link: <http: es.example.com="">; rel="alternate"; hreflang="es"</http:>
                        
                      • Sitemap. Instead of using markup, you can submit language version information in a Sitemap.

                      I hope this helps, let me know if you have more Qs

                      Best,

                      Issa

                      fabrizzio 1 Reply Last reply Reply Quote 0
                      • irvingw
                        irvingw @fabrizzio last edited by

                        What is making you think your rankings are compromised?

                        This is new Google, treating subdomains like part of your site, really they are - just separated by a dot instead of a slash. now if they are showing results from one country in another countries google, that's an issue but geo targeting subdomains in WMT will take care of that.

                        fabrizzio 1 Reply Last reply Reply Quote 0
                        • jesse-landry
                          jesse-landry @fabrizzio last edited by

                          oh i gotcha. yeah that makes sense then... irving has you on the right track. i don't know much about multi-language web work

                          still i would no-crawl that mobile site and that will fix one of your problems at least.

                          good luck!

                          1 Reply Last reply Reply Quote -1
                          • fabrizzio
                            fabrizzio @jesse-landry last edited by

                            Maybe the mobile in particular is a bad example because you are right, I can restrict access to it. But It's happening with the site in other languages too.

                            jesse-landry 1 Reply Last reply Reply Quote 1
                            • fabrizzio
                              fabrizzio @irvingw last edited by

                              I have this on all my pages:

                              http-equiv="Content-Language" content="nl" /> or this http-equiv="Content-Language" content="de" />

                              that's why I'm clueless

                              irvingw 1 Reply Last reply Reply Quote 0
                              • jesse-landry
                                jesse-landry @fabrizzio last edited by

                                why would you want google to crawl your mobile site?

                                fabrizzio 1 Reply Last reply Reply Quote -1
                                • irvingw
                                  irvingw @fabrizzio last edited by

                                  Add meta language tags to their respective pages.

                                  you can also add local content like country name to the content to help give google more hints.

                                  fabrizzio 1 Reply Last reply Reply Quote 0
                                  • fabrizzio
                                    fabrizzio @irvingw last edited by

                                    The problem I see with geo targeting through webmasters tool is that I can pick a country and not a language.

                                    For example I have a portuguese version for Brzil and Portugal. I know this is not the best approach cause both languages has its differences, but I can say this website is for Portugal OR Brazil. Not for poruguese speaking countries.

                                    irvingw 1 Reply Last reply Reply Quote 0
                                    • fabrizzio
                                      fabrizzio @jesse-landry last edited by

                                      I don't want Google not to crawl the website. I want to set this up properly so he sees that they are different

                                      jesse-landry 1 Reply Last reply Reply Quote 0
                                      • irvingw
                                        irvingw last edited by

                                        Google is more and more treating subdomains like part of the site, this is one example of how. You can demote the sitelinks. If you have a german version for example you can geo target that subdomain for germany results.

                                        fabrizzio 1 Reply Last reply Reply Quote 0
                                        • jesse-landry
                                          jesse-landry last edited by

                                          add a no-crawl in your robots.txt for each subdomain you don't want crawled?

                                          fabrizzio 1 Reply Last reply Reply Quote -1
                                          • 1 / 1
                                          • First post
                                            Last post

                                          Got a burning SEO question?

                                          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                          Start my free trial


                                          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.

                                          • See all categories

                                          Related Questions

                                          • 94501

                                            Can an "Event" in Structured Data For Google Be A Webinar?

                                            I have a client who is has structured data for live business webinars. Google's documentation seems to talk more about music and tickets than this kind of thing. At the same time, we get an error in search console for "Name" and location, which they list as "webinar." Should I removed this failed structured data attempt or is there a way to fix it? Thanks!

                                            Intermediate & Advanced SEO | | 94501
                                            0
                                          • MarkWill

                                            Blog subdomain not redirecting

                                            Over the last few weeks I have been focused on fixing high and medium priority issues, as reported by the Moz crawler, after a recent transition to WordPress. I've made great progress, getting the high priority issues down from several hundred (various reasons, but many duplicates for things like non-www and www versions) to just five last week. And then there's this weeks report. For reasons I can't fathom, I am suddenly getting hundreds of duplicate content pages of the form http://blog.<domain>.com</domain> (being duplicates with the http://www.<domain>.com</domain> versions). I'm really unclear on why these suddenly appeared. I host my own WordPress site ie WordPress.org stuff. In Options / General everything refers to http://www.<domain>.com</domain> and has done for a number of weeks. I have no idea why the blog versions of the pages have suddenly appeared. FWIW, the non-www version of my pages still redirect to the www version, as I would expect. I'm obviously pretty concerned by this so any pointers greatly appreciated. Thanks. Mark

                                            Intermediate & Advanced SEO | | MarkWill
                                            0
                                          • edward-may

                                            Ranking on google but not Bing?

                                            Any reason why I could be ranking for Google but not Bing?  

                                            Intermediate & Advanced SEO | | edward-may
                                            0
                                          • bjs2010

                                            How to find all indexed pages in Google?

                                            Hi, We have an ecommerce site with around 4000 real pages. But our index count is at 47,000 pages in Google Webmaster Tools. How can I get a list of all pages indexed of our domain? trying to locate the duplicate content. Doing a "site:www.mydomain.com" only returns up to 676 results... Any ideas? Thanks, Ben

                                            Intermediate & Advanced SEO | | bjs2010
                                            0
                                          • x2264983x

                                            Google places keyword variations

                                            Hi all, I have a site that is ranking #1 in Google Places for its main <city><keyword>search... but it does not rank for any of its basic keyword variations, which I find very confusing.</keyword></city> ie (just an example) Chicago Caterer (ranked #1 in google places)
                                            Chicago Caterers (not ranked in google places)
                                            Chicago Catering (not ranked in google places)
                                            Chicago Catering Company (not ranked in google places)
                                            Chicago Catering Companies (etc..) How can I secure a google places ranking for these simple keyword variations? Do I build links to the google plus page using that anchor text? Do I get citations that contain that keyword somewhere on the page? Do I optimize for these keyword variations on the actual website itself? (not the places listing). Obviously I don't stuff these keywords into the google places listing. Any help would be much appreciated!

                                            Intermediate & Advanced SEO | | x2264983x
                                            0
                                          • Endora

                                            Why am I not ranking in Google, but I am in Yahoo and Bing?

                                            The website in question is: www.stbarthexclusives.com Our keywords are currently ranking for both Bing and Yahoo, but we're not appearing anywhere on Google. The website is being crawled successfully, but we still don't have any results. I hoping somebody can point me in the general right direction to fix/correct this problem. Additionally, there's a decent amount of "rel=canonical tags" on the website. If that helps your evaluation. Any advice would be greatly appreciated

                                            Intermediate & Advanced SEO | | Endora
                                            0
                                          • DerekM88

                                            Partner Login as subdomain?

                                            Hi MozTeam, We have a website that is used as our partner login for our Partners to see their stats, but it is located on a SEPARATE domain from our main corporate website. We currently have thousands of people logging into the external portal every month, which we are obviously not getting good SEO credit for. I am considering bringing the entire login portal into our main corporate website, so that Google sees how popular and useful our site becomes when thousands more people are visiting... We only get a few thousands organic visits to the corporate site per month and about 3x that to the partner login portal. This is why I originally thought we could benefit from bringing it into our corporate site. Challaneges: our website is in .asp but we are launching a new version of it next month, switching it to Wordpress and into .php....but the current partner login website is still in .asp! Questions: 1. How will bringing this site into the main corporate site benefit us as far as SEO? 2. What is the proper way to combine an .asp site with a .php site? 3. If we have to use an iFrame because we can't mix the two languages, will that affect our SEO benefit? Pls advise, as if this is actually a good idea, I'd like to get it launched along with the site redesign that is currently under way.

                                            Intermediate & Advanced SEO | | DerekM88
                                            0
                                          • qdigi

                                            Can Google read my backlink in Javascript??

                                            Hi SeoMoz community! I have a software product, which our clients implement onto their websites. It is like a pop up box. I know that backlinks are very important for SEO ranking, and I really want to give our clients 2 options of product: 1. you can get the free/cheaper option if you use the code which has a keyworded backlink to our site on it 2. you can pay small fee if you don't want to use the version with a link to our site on it Now, the problem is that the product is written entirely in Javascript, and I don't think that Google crawls this, do they? Is there a way around this? Thanks for your help!

                                            Intermediate & Advanced SEO | | qdigi
                                            0

                                          Get started with Moz Pro!

                                          Unlock the power of advanced SEO tools and data-driven insights.

                                          Start my free trial
                                          Products
                                          • Moz Pro
                                          • Moz Local
                                          • Moz API
                                          • Moz Data
                                          • STAT
                                          • Product Updates
                                          Moz Solutions
                                          • SMB Solutions
                                          • Agency Solutions
                                          • Enterprise Solutions
                                          Free SEO Tools
                                          • Domain Authority Checker
                                          • Link Explorer
                                          • Keyword Explorer
                                          • Competitive Research
                                          • Brand Authority Checker
                                          • MozBar Extension
                                          • MozCast
                                          Resources
                                          • Blog
                                          • SEO Learning Center
                                          • Help Hub
                                          • Beginner's Guide to SEO
                                          • How-to Guides
                                          • Moz Academy
                                          • API Docs
                                          About Moz
                                          • About
                                          • Team
                                          • Careers
                                          • Contact
                                          Why Moz
                                          • Case Studies
                                          • Testimonials
                                          Get Involved
                                          • Become an Affiliate
                                          • MozCon
                                          • Webinars
                                          • Practical Marketer Series
                                          • MozPod
                                          Connect with us

                                          Contact the Help team

                                          Join our newsletter
                                          Moz logo
                                          © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                          • Accessibility
                                          • Terms of Use
                                          • Privacy

                                          Looks like your connection to Moz was lost, please wait while we try to reconnect.