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)
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>"/>
-
Yeah you can do language only hreflangs. But it's pure nonsense to direct Google to the very same URL and state that it is the URL for all of those different languages. At the end of the day, Google will crawl from one data centre at once which may be from one of many countries. It will see one version of the page, and assume that 'this is what the page is'
If the site structure is that you have one URL only and the contents are modified based on the user's origin, then the structure is wrong as Google will have a very hard time ranking one URL as many different URLs. People who have such a structure always end up here, always argue why it's ok and then end up 'doing it properly' later on as it just doesn't work
Also note that, if you have one version of a page served to people in different regions (e.g: an EN page which is stated in the hreflangs to be for both Canadians and Americans), Google may see that as a 'minimum effort' deployment with no value proposition. Different audiences need tailored content to suit them, so a re-write of some of the content is still expected if you want to see an increased international footprint (and you're not a giant like Santander or Coca-Cola)
The number of times I see people clone their EN site into a US folder and just 'expect it to rank' with no extra effort, just with hreflangs - is staggering. Google expect to see a value proposition when you build out your site. Value-prop ('value add'), the #1 yet never talked about ranking factor
I don't think your current implementation will work very well, if at all. You may have lots of human-brain reasons why it should - but crawlers are robots
-
Thanks for your reply TukTown.
The website is in 4 languages. English, French, Dutch and German.
Google support states you can target a language only, without specifying a region:
"
Supported language/region codesThe value of the hreflang attribute identifies the language (in ISO 639-1 format) and optionally a region (in ISO 3166-1 Alpha 2 format) of an alternate URL. (The language need not be related to the region.) For example:
de: German language content, independent of region
en-GB: English language content, for GB users
de-ES: German language content, for users in Spain
"We are targeting the Dutch language in two different countries. (Belgium and The Netherlands)
The issue I'm raising is that all hreflang-tags, plus the canonical tag, are pointing to the same URL.
Will bots be able to identify the correct language with this mark-up?
Supported language/region codes
The value of the
hreflang
attribute identifies the language (in ISO 639-1 format) and optionally a region (in ISO 3166-1 Alpha 2 format) of an alternate URL. (The language need not be related to the region.) For example:de
: German language content, independent of regionen-GB
: English language content, for GB usersde-ES
: German language content, for users in Spain
-
Hi Dimitri,
You're most definitely right in your assumption that this is incorrect. Those are not even properly written hreflang tags, and are therefore useless.
The purpose of hreflang is to help search engines determine which language version of an otherwise duplicate webpage should be served to a user in a particular geographical area. Therefore, each individual hreflang tag includes both a country and a language. For instance, if you want users finding you through search in the US to be served the English language version of a webpage, the hreflang tag would be as follows:
However, if you wanted your users in Canada to be served the French version of a webpage (if it's targeted at a Quebecoi audience for instance), the hreflang tag would be as follows:
I don't think your current hreflang tags are damaging you as they're incorrectly formatted and probably therefore disregarded, but you should at the very least remove them until they've constructed an accurate hreflang set. How many languages is your site in?
Hope this helps!
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
-
Canonical URL
Hi there Our website www.snowbusiness.com has a non www version and this one has 398 backlinks. What is the best way of transfering this link value if i establish the www. address as the canonical URL? Thanks, Ben
Technical SEO | | SnowFX0 -
Confused on footer links (Which are best practices for footer links on other websites?)
Hello folks, We are eCommerce web design and Development Company and we give do follow links of our website to every projects which we have done with specific keywords. So now the concern is we are seeing huge amount of back-links are being generated from single root domain for particular keyword in webmaster tools. So what should be the best way to practice this? Should we give no follow attribute to it or can use our company logo with link? LtMjHER.png
Technical SEO | | CommercePundit0 -
Bad link profile?
Hi Mozzers! We have recently been handed this client due to the former SEO company building up a bad link profile, which resulted in the site dropping off the search results all together. Forcing them to get a new domain. This happened in July last year and we are unsure whether it would be wise to submit a reconsideration request and then 301 their old sites pages to the new domain. Basically I'm asking whether you can spot any spammy links being built in their profile. Here is the old domain: http://www.claimssolicitors.co.uk/ It would be great if you could help me out! 🙂 Thanks
Technical SEO | | Webrevolve0 -
Site Wide Links
I have a link on pr 3 home page website placed in the side bar. It is on a WordPress website that spans a couple hundred pages and the side bar is on every page. The majority of the pages are not ranked or have any pr. Can this affect me negatively?
Technical SEO | | raph39880 -
Clickable links in video?
Hi, I am creating a website for mobile devices and have planned to use videos at certain places. I want to have a clickable url inserted at the end of the video. Any suggestions how may i do it? Regards
Technical SEO | | IM_Learner0 -
Trailing Slashes In Url use Canonical Url or 301 Redirect?
I was thinking of using 301 redirects for trailing slahes to no trailing slashes for my urls. EG: www.url.com/page1/ 301 redirect to www.url.com/page1 Already got a redirect for non-www to www already. Just wondering in my case would it be best to continue using htacces for the trailing slash redirect or just go with Canonical URLs?
Technical SEO | | upick-1623910 -
During a site platform transition, should we 301 redirect all URLs or only those with inbound links?
We have an ecommerce client transitioning to a new platform. Due to the nature of the platform, all the pages will have different URLs. There are between 7000-8000 total pages on the website. We wrote 301 redirects for all URLs which are showing inbound links. Unfortunately, automating this process is pretty difficult and hand writing URLs for 8000 links is unfeasible. Is it worth investing the time to 301 redirect all 8000 URLs, or are we safe with only doing those with inbound links? One other option would be to implement a generic redirect for all the rest of the old URLs that sends them to the homepage. Would this be a good compromise?
Technical SEO | | outofboundsdigital0