Canonical and hreflang mess of international desktop and mobile site versions
-
Hello, I have an interesting case and I am lost in it. There are two versions of the site: desktop and mobile. And there are also international versions: English and Spanish. I'm stuck at implementation of canonical tags. Currently my setup has the following:
English (default) desktop page has these:
English Mobile page has these:
Spanish Desktop version:
Spanish Mobile version:
But I somewhat feel that I messed the things... Could you guys point me to what I did wrong and explain how to set it right? Also, if you know URLs of blog posts or articles, where similar case is explained - share with me please.
-
Just for my own organization. I know that in all the Google examples, the x-default tag is at the bottom. Overall, I don't believe it makes a difference.
-
Oleg,
did you change the order of the tags by intention? Canonical on top, x-default on bottom. Does the order matter?
-
Thanks.
I hope to get more responses from others to see if they agree with your solution.
-
I don't think it should be removed, that's why I included it.
-
Oleg,
Why do you think canonical tag should be removed from mobile pages?
-
Check out: https://www.youtube.com/watch?v=8ce9jv91beQ
English (default) desktop page has these:
http://www.site.com/">
http://www.site.com" hreflang="en">
http://www.site.com/es/" hreflang="es">
http://www.site.com" hreflang="x-default">
http://m.site.com/" >English Mobile page has these:
http://www.site.com/">
http://m.site.com/" hreflang="en">
http://m.site.com/es/" hreflang="es">
http://m.site.com/" hreflang="x-default">Spanish Desktop version:
http://www.site.com/es/">
http://www.site.com/es/" hreflang="es">
http://www.site.com/" hreflang="en">
http://www.site.com/" hreflang="x-default">
http://m.site.com/es/" >Spanish Mobile version:
http://www.site.com/es/"> http://m.site.com/es/" hreflang="es">
http://m.site.com/" hreflang="en">
http://m.site.com/" hreflang="x-default">
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
-
Hreflang alternate as single-hop 301 - is this actually a problem?
First, this is not a question about whether 301 redirects pass page rank. My question is that if your hreflang alternative page URL is a 301 redirect*, are there any downsides. In all cases with our situation, the 301 redirect is single-hop and working. Tools, such as SEMRush seem to flag this as a non-canonical hreflang error, but I'm not able to find any cases where Google has suggested a redirecting hreflang is a problem. I'd appreciate any information on this issue before we invest extra time on a large international site. *In Drupal, there are scenarios where it's all but impossible to avoid having a 301 redirect in your hreflang alternate URL without significant custom work.
International SEO | | scottclark0 -
International corporate SEO - menu and preferences
Hi all, for internationalization we have used subfolders structure (e.g. domain.com/us/) and since we have approx 150 countries to cover, then country selector is quite a link-base, especially if pages itself can have even several hundreds of internal links as well. Currently, all links to other countries are set as rel="nofollow" and I'm planning to change them to "follow" to distribute a juice. Do you please have an experience with such internal links voluminous websites and this follow/nofollow settings? Also we are having and issue with other countries outperforming local search. So for example in US, searching for kind of "Brand America" keyword, our UK branch outperforms US. Hreflangs are set in the sitemaps and each branch (country) is set in search console correctly as well. Since there are some issues with sitemaps (e.g. not actual links, or links returning 404), I assume that google is not using these sitemaps therefore hreflang information is lost as well. Am I correct ? thank you in advance, Tom
International SEO | | execom990 -
Moving my site to one domain name .com from 3
Hi Guys, I'm ranking really well for my domains in my local geo - im wondering if it will be more effective if i moved the co.nz and com.au over to the .com - the only thing is will i still see my com.au and co.nz results on the .com?
International SEO | | edward-may0 -
If I redirect based on IP will Google still crawl my international sites if I implement Hreflang
We are setting up several international sites. Ideally, we wouldn't set up any redirects, but if we have to (for merchandising reasons etc) I'd like to assess what the next best option would be. A secondary option could be that we implement the redirects based on IP. However, Google then wouldn't be able to access the content for all the international sites (we're setting up 6 in total) and would only index the .com site. I'm wondering whether the Hreflang annotations would still allow Google to find the International sites? If not, that's a lot of content we are not fully benefiting from. Another option could be that we treat the Googlebot user agent differently, but this would probably be considered as cloaking by the G-Man. If there are any other options, please let me know.
International SEO | | Ben.JD0 -
Multilingual site - Best choice?
Quick question for a site that has the same content but in a different language (not machine translated) on seperate pages.
International SEO | | Crunchii
Say I have:www.mydomain.com (which is in English)
www.mydomain.com/ES (which is in Spanish)
www.mydomain.com/NL (which is in Dutch) I don't want to limit the ie. Spanish to only Spain so geotargeting isn't necessary What is the best/correct setup for the pages?0 -
E-Commerce site in 2 languages - Duplicate content or not?
How does Google view this? Our current site works like:
International SEO | | bjs2010
www.domain.com/EN - English
www.domain.com/ES - Spanish All products are the same, just different language and different URL for them - is this good or bad? I thought of either Going with .co.uk or .com for "English" and a .es for "Spanish"
OR Subdomaining it. www.es.domain.com and www.en.domain.com Any advice appreciated!0 -
Correct Hreflang & Canonical Implementation for Multilingual Site
OK, 2 primary questions for a multilingual site. This specific site has 2 language so I'll use that for the examples. 1 - Self-Referencing Hreflang Tag Necessary? The first is regarding the correct implementation of hreflang, and whether or not I should have a self-referencing hreflang tag. In other words, if I am looking at the source code for http://www.example.com/es/ (our Spanish subfolder), I am uncertain whether the source code should contain the second line below: Obviously the Spanish version should reference the English version, but does it need to reference itself? I have seen both versions implemented, with seemingly good results, but I want to know the best practice if it exists. 2 - Canonical of Current Language or Default Language? The second questions is regarding which canonical to use on the secondary language pages. I am aware of the update to the Google Webmaster Guidelines recently that state not to use canonical, but they say not to do it because everyone was messing it up, not because it shouldn't be done. So, in other words, if I am looking at the source code for http://www.example.com/es/ (our Spanish subfolder), which of the two following canonicals is correct? OR For this question, you can assume that (A) the English version of the site is our default and (B) the content is identical. Thanks guys, feel free to ask any qualifiers you think are relevant.
International SEO | | KaneJamison1 -
Geo Targeting for Similar Sites to Specific Countries in Google's Index
I was hoping Webmaster Tools geo targeting would prevent this - I'm seeing in select google searches several pages indexed from our Australian website. Both sites have unique TLDs: barraguard.com barraguard.com.au I've attached a screenshot as an example. The sites are both hosted here in the U.S. at our data center. Are there any other methods for preventing Google and other search engines from indexing the barraguard.com.au pages in searches that take place in the U.S.? dSzoh.jpg
International SEO | | longbeachjamie0