Advanced Hreflang !
-
Hey Everyone:
We are currently implementing hreflang tags on our site, and we have many parameter pages with hreflang tags; however, I am afraid these may be counted as duplicate content without canonical tags.
href='http://example.com/de" hreflang="de" rel="alternate"
href='http://example.com/nl" hreflang="nl" rel="alternate"
href='http://example.com/fr" hreflang="fr" rel="alternate"
href='http://example.com/it" hreflang="it" rel="alternate"
I have two questions
1. On the parameter pages (which have hreflang tags like above) do we also need a canonical tag on example.com/utm_source_tpi pointing to example.com ?
2. On the homepage (page without the parameter), should I add a self referencing hreflang tag? (href="http://example.com/" hreflang="es")
Thanks so much for your help!
-K
-
Hi Kezzi:
If the the utm pages (which are duplicates of the original page) have self-referencing canonical tags, won't they still be duplicates of the original page?
For example, let's say we have:
example.com/ and example.com/utm_source=tpi
All these pages have hrelfang, but the pages with utm are duplicates of the original, so I would assume that we need to have example.com/utm_source=tpi have a canonical tag pointing to example.com/
In addition, example.com/nl/utm_source=tpi would have a canonical tag pointing to example.com/nl/
Thanks!
-
Hi!
First of all welcome to the community!
Regarding your question, I would implement a canonical which would self reference:
- on NL page for example example.com/nl/
- on DE page for example example.com/de/
- on the homepage example.com/
Regarding the hreflang implementation. You will always need to make a self reference in order to make it work. So for example on an inner page, called Sample you would have on all languages:
I hope this helps
Gr., Keszi
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
-
XML sitemap and rel alternate hreflang requirements for Google Shopping
Our company implemented Google Shopping for our site for multiple countries, currencies and languages. Every combination of language and country is accessible via a url path and for all site pages, not just the pages with products for sale. I was not part of the project. We support 18 languages and 14 shop countries. When the project was finished we had a total of 240 language/country combinations listed in our rel alternate hreflang tags for every page and 240 language/country combinations in our XML sitemap for each page and canonicals are unique for every one of these page. My concern is with duplicate content. Also I can see odd language/country url combinations (like a country with a language spoken by a very low percentage of people in that country) are being crawled, indexed, and appearing in serps. This uses up my crawl budget for pages I don't care about. I don't this it is wise to disallow urls in robots.txt for that we are simultaneously listing in the XML sitemap. Is it true that these are requirements for Google Shopping to have XML sitemap and rel alternate hreflang for every language/country combination?
Technical SEO | | awilliams_kingston0 -
Several hreflang links pointing to same URL
Hi, Does anyone know whether hreflang links can be used using the following markup? I can't seem to find any info on this particular usage, but it "feels" incorrect to me. (duplicate content issues)
Technical SEO | | dimitrihuyghe
Our development team tells me this is the way the markup should be, since languages are initially set using a cookie and all different languages are using the same URL. Thanks! <link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">nl</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">x-default</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">fr</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">en</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">de</a>"/>0 -
Localizing URLs Path - Hreflang
Hello, This is a simple question regarding how URLs should be managed for proper results with the hreflang tags. Right now, we have a website in English and German. The hreflang tag is working properly. This is how we currently have it: https://www.memoq.com/ https://de.memoq.com/ But we will soon change the way we localize our web, moving out of the sub-domain structure. There is this possibility of localizing the URLs path, but I was wondering if the hreflang tag would work in such case. The new structure would look something like: https://www.memoq.com/why-memoq https://www.memoq.com/de/warum-memoQ So my question is: If we localize the keyword in the path of the URL, will the tag still work? Or do they need to be in the same language than the English version. Thanks!
Technical SEO | | Kilgray1 -
HREFLANG No Return Tag Error
Keep getting WMT no return tag error. Also got an email today on this issue. Here are a couple pages showing up in the error report: Originating URL: /hawaii/kauai-real-estate/ Alternate URL: /jp/hawaii/kauai-real-estate/ Here are the hreflang tags for each page: /hawaii/kauai-real-estate/ /jp/hawaii/kauai-real-estate/ The only thing I can see is the hreflang= is at the end of the snippet but doesn't seem like that would matter. Any thoughts would be greatly appreciated. Thank you.
Technical SEO | | SoulSurfer80 -
Canonical Tags on Parameter Pages With Hreflang
Hey Everyone: We are currently implementing hreflang tags on our site, and we have many parameter pages with hreflang tags; however, I am afraid these may be counted as duplicate content without canonical tags. example.com/utm_source=tpi href='http://example.com/de" hreflang="de" rel="alternate" href='http://example.com/nl" hreflang="nl" rel="alternate" href='http://example.com/fr" hreflang="fr" rel="alternate" href='http://example.com/it" hreflang="it" rel="alternate" I have two questions 1. Do I need a canonical tag pointing to example.com ? 2. On the homepage without the parameter, should I add self referencing hreflang tags? (href="http://example.com/" hreflang="es" Thanks so much for your help! Kyle
Technical SEO | | TeespringMoz0 -
Hreflang Implementation
Hello All, I'm currently working on a website with different folders for different country. For now I have defined the href lang implementation as below: http://www.homepage.com/en/default.html"/>
Technical SEO | | buiserik
Language: English - Country: United Kingdom http://www.homepage.com/enus/default.html"/>
Language: English - Country: United States http://www.homepage.com/nl/default.html"/>
Language: Dutch - Country: Netherlands http://www.homepage.com/nlbe/default.html"/>
Language: Dutch - Country: Belgium http://www.homepage.com/fr/default.html"/>
Language: French - Country: All french speaking countries http://www.homepage.com/de/default.html"/>
Language: German - Country: All german speaking countries http://www.homepage.com/es/camisa-a-medida.html"/>
Language: Spanish - Country: Spain http://www.homepage.com/enen/default.html" />
Language: English - Country: All other countries Does this make any sense? Furthermore, how do I implement this on underlying pages. Do I fill out the URL dynamically according to the URL the tags are found on? Or do I use these tags mentioning the homepage on all underlying pages? If so, how do I avoid duplicate content issues between NL and NL-BE and EN-GB, EN-US and EN? Canonicals? Besides the whole hreflang implementation I was wondering if it's worthwhile or advisable to implement lang="en" xml:lang="en_"_ in the HTML tag and http-equiv="content-language" content="en_"_ in the META tags?0 -
Hreflang tag implentation
Hi, We've had hreflang tags implemented on our site for a few weeks now, and while we are seeing some improvements for the regional subfolders I wanted to double check I had the tags implemented correctly (a couple of examples are below). However while the regional subfolder sites are now ranking instead of the US site for some keywords, some key search terms are still returning the US site. Could this be due to incorrect implementation for that specific page? Due to complications with using Magento we're implementing the tags in the site maps. Also magento appears to be inserting a rel canonical tag automatically for each page and self referencing e.g. On www.example.com/uk/security-cameras (one of the pages we're having issues with) the canonical tag is http://www.example.com/uk/security-cameras" />. Is this an issue? Any advice would be appreciated. Thanks. <url><loc>http://www.example.com/uk/dvrs-kits</loc>
Technical SEO | | ahyde
<lastmod>2014-07-23</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority></url>
<url><loc>http://www.example.com/uk/dvrs-kits/1080p</loc>
<lastmod>2014-07-23</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority></url>0 -
Hreflang on non-canonical pages
Hi! I've been trying to figure out what is the best way to solve this dilemma with duplicate content and multiple languages across domains. 1 product info page 2 same product but GREEN
Technical SEO | | LarsEriksson
3 same product but RED
4 same product but YELLOW **Question: ** Since pages 2,3,4 just varies slightly I use the canonical tag to indicate they are duplicates of page 1. Now I also want to indicate there are other language versions with the_ rel="alternate" hreflang="x" _element. Should I place the _rel="alternate" hreflang="x" _on the canonical page only pointing to the canonical page with "x" language. Should I place the _rel="alternate" hreflang="x" _on all pages pointing to the canonical page with the "x" language? Should I place the _rel="alternate" hreflang="x" _on all pages and then point it to the translated page (even if it is not a canonical page) ? /Lars0