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 you index a Google doc?
We have updated and added completely new content to our state pages. Our old state content is sitting in a our Google drive. Can I make these public to get them indexed and provide a link back to our state pages? In theory it sounds like a great link building strategy... TIA!
Intermediate & Advanced SEO | | LindsayE1 -
How can I get Bing to index my subdomain correctly?
Hi guys, My website exists on a subdomain (i.e. https://website.subdomain.com) and is being indexed correctly on all search engines except Bing and Duck Duck Go, which list 'https://www.website.subdomain.com'. Unfortunately my subdomain isn't configured for www (the domain is out of my control), so searchers are seeing a server error when clicking on my homepage in the SERPs. I have verified the site successfully in Bing Webmaster Tools, but it still shows up incorrectly. Does anyone have any advice on how I could fix this issue? Thank you!
Intermediate & Advanced SEO | | cos20300 -
Blog On Subdomain - Do backlinks to the blog posts on Subdomain count as links for main site?
I want to put blog on my site. The IT department is asking that I use a subdomain (myblog.mysite.com) instead of a subfolder (mysite.com/myblog). I am worried b/c it was my understanding that any links I get to my blog posts (if on subdomain) will not count toward the main site (search engines would view almost as other website). The main purpose of this blog is to attract backlinks. That is why I prefer the subfolder location for the Blog. Can anyone tell me if I am thinking about this right? Another solution I am being offered is to use a reverse proxy. Thoughts? Thank you for your time.
Intermediate & Advanced SEO | | ecerbone0 -
How to NOT appear in Google results in other countries?
I have ecommerce sites the only serve US and Canada. Is there a way to prevent a site from appearing in the Google results in foreign countries? The reason I ask is that we also have a lot of informational pages that folks in other countries are visiting, then leaving right after reading. This is making our overall Bounce Rate very high (64%). When we segment the GA data to look at just our US visitors, then the Bounce Rate drops a lot. (to 48%) Thanks!
Intermediate & Advanced SEO | | GregB1230 -
How to add subdomains to webmaster tools?
Can anyone help with how I add a sub domain to webmaster tools? Also do I need to create a seperate sitemap for each sub domain? Any help appreciated!
Intermediate & Advanced SEO | | SamCUK1 -
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 | | DerekM880 -
Google News URL Structure
Hi there folks I am looking for some guidance on Google News URLs. We are restructuring the site. A main traffic driver will be the traffic we get from Google News. Most large publishers use: www.site.com/news/12345/this-is-the-title/ Others use www.example.com/news/celebrity/12345/this-is-the-title/ etc. www.example.com/news/celebrity-news/12345/this-is-the-title/ www.example.com/celebrity-news/12345/this-is-the-title/ (Celebrity is a channel on Google News so should we try and follow that format?) www.example.com/news/celebrity-news/this-is-the-title/12345/ www.example.com/news/celebrity-news/this-is-the-title-12345/ (unique ID no at the end and part of the title URL) www.example.com/news/celebrity-news/celebrity-name/this-is-the-title-12345/ Others include the date. So as you can see there are so many combinations and there doesnt seem to be any unity across news sites for this format. Have you any advice on how to structure these URLs? Particularly if we want to been seen as an authority on the following topics: fashion, hair, beauty, and celebrity news - in particular "celebrity name" So should the celebrity news section be www.example.com/news/celebrity-news/celebrity-name/this-is-the-title-12345/ or what? This is for a completely new site build. Thanks Barry
Intermediate & Advanced SEO | | Deepti_C0 -
Use of subdomains, subdirectories or both?
Hello, i would like your advice on a dilemma i am facing. I am working a new project that is going to release soon, thats a network of users with personal profiles seperated in categories for example lets say the categories are colors. So let say i am a member and i belong in red color categorie and i got a page where i update my personal information/cv/resume as well as a personal blog thats on that page. So the main site is giving the option to user to search for members by the criteria of color. My first idea is that all users should own a subdomain (and this is how its developed so far) thats easy to use and since the domain name is really small (just 3 letters) i believe subdomain worth since personal site will be easy to remember. My dilemma is should all users own a subdomain, a subdirectory or both and if both witch one should be the canonical? Since it said that search engines treat subdomains as different stand-alone sites, whats best for the main site? to show multiple search results with profiles in subdomains or subdirectories? What if i use both? meaning in search results i use search directory url for each profile while same time each profile owns a subdomains as well? and if so which one should be the canonical? Thanks in advance, C
Intermediate & Advanced SEO | | HaCos0