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?
-
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!!
-
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
-
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">
-
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
-
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.
-
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
-
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.
-
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.
-
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
link
element 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
-
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.
-
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!
-
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.
-
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
-
why would you want google to crawl your mobile site?
-
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.
-
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.
-
I don't want Google not to crawl the website. I want to set this up properly so he sees that they are different
-
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.
-
add a no-crawl in your robots.txt for each subdomain you don't want crawled?
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
-
Can Google Crawl & Index my Schema in CSR JavaScript
We currently only have one option for implementing our Schema. It is populated in the JSON which is rendered by JavaScript on the CLIENT side. I've heard tons of mixed reviews about if this will work or not. So, does anyone know for sure if this will or will not work. Also, how can I build a test to see if it does or does not work?
Intermediate & Advanced SEO | | MJTrevens0 -
Can Google Bot View Links on a Wix Page?
Hi, The way Wix is configured you can't see any of the on-page links within the source code. Does anyone know if Google Bots still count the links on this page? Here is the page in question: https://www.ncresourcecenter.org/business-directory If you do think Google counts these links, can you please send me URL fetcher to prove that the links are crawlable? Thank you SO much for your help.
Intermediate & Advanced SEO | | Fiyyazp0 -
How can I stop spam Google Organic traffic?
Hey Moz, I'm a rather experienced SEO who just encountered a problem I have never faced. I am hoping to get some advice or be pointed in the right direction. I just started work for a new client. Really great client and website. Nicer than most design/content. They will need some rel canonical work but that is not the issue here. The traffic looked great at first glance 131k visits in April. Google Analytics Acquisition Overview showed 94% of the traffic as organic. When I dug deeper and looked at the organic source I saw that Google was 99.9% of it. Normal enough. Then I looked at the time on site and my jaw dropped. 118,454 Organic New Users for Google only stayed on the site for 3 seconds. There is no way that the traffic is real. It does not match what Google Webmaster tools, Moz, and Ahrefs are telling me. How do I stop a service that is sending fake organic Google traffic?
Intermediate & Advanced SEO | | placementLabs0 -
301 Redirect of subdomain?
Fellow Mozzers, I'm having a hard time wrapping my brain around a redirect issue and thought it was worth posing the question to the Moz community. I did a search first but couldn't find the exact answer I was looking for. How does a 301 redirect work when you redirect a sub domain example.homepage.com to www.homepage.com but you keep the sub directories of example.homepage.com/page-1 active and are trying to rank them? I'm dealing with a current project where this is happening and this doesn't make sense to me, to redirect the subdomain if you're also trying to rank/create search traffic for pages, sub directories on example.homepage.com. This also get's into the debate of if a sub domain site is viewed as it's own website and therefore has to rank itself. If this is true, it seems like we're kind of killing the authority of the site by redirecting it. Additionally, www.homepage.com has a much stronger link profile than example.homepage.com I hope this makes sense. Any thoughts are appreciated. Thanks for your time.
Intermediate & Advanced SEO | | SMG-Texas0 -
Number of images on Google?
Hello here, In the past I was able to find out pretty easily how many images from my website are indexed by Google and inside the Google image search index. But as today looks like Google is not giving you any numbers, it just lists the indexed images. I use the advanced image search, by defining my domain name for the "site or domain" field: http://www.google.com/advanced_image_search and then Google returns all the images coming from my website. Is there any way to know the actual number of images indexed? Any ideas are very welcome! Thank you in advance.
Intermediate & Advanced SEO | | fablau1 -
Duplicate content on subdomains.
Hi Mozer's, I have a site www.xyz.com and also geo targeted sub domains www.uk.xyz.com, www.india.xyz.com and so on. All the sub domains have the content which is same as the content on the main domain that is www.xyz.com. So, I want to know how can i avoid content duplication. Many Thanks!
Intermediate & Advanced SEO | | HiteshBharucha0 -
Disavow Subdomain?
Hi all, I've been checking and it seems like there are only 2 options when disavowing links with Google's tool. Disavow the link: http://spam.example.com/stuff/content.htm Disavow the domain: domain: example.com What can I do if I want do disavow a subdomain? i.e. spam.site.com I'm also assuming that if I were to disavow the domain it would include all subdomains? Thanks.
Intermediate & Advanced SEO | | Carlos-R0 -
Indexed Pages in Google, How do I find Out?
Is there a way to get a list of pages that google has indexed? Is there some software that can do this? I do not have access to webmaster tools, so hoping there is another way to do this. Would be great if I could also see if the indexed page is a 404 or other Thanks for your help, sorry if its basic question 😞
Intermediate & Advanced SEO | | JohnPeters0