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 sitemap URL different to website URL architecture
Hi, This may or may not be be an issue, but would like some SEO advice from someone who has a deeper understanding. I'm currently working on a clients site that has a bespoke CMS built by another development agency. The website currently has a sitemap with one link - EG: www.example.com/category/page. This is obviously the page that is indexed in search engines. However the website structure uses www.example.com/page, this isn't indexed in search engines as the links are canonical. The client is also using the second URL structure in all it's off and online advertising, internal links and it's also been picked up by referral sites. I suspect this is not good practice... however I'd like to understand whether there are any negative SEO effectives from this structure? Does Google look at both pages with regard to visits, pageviews, bounce rate, etc. and combine the data OR just use the indexed version? www.example.com/category/page - 63.5% of total pageviews
Technical SEO | | MikeSutcliffe
www.example.com/page - 34.31% of total pageviews Thanks
Mike0 -
Use hreflang language or hreflang language & country code
Hi, our website has 7 languages, but only one English version (site.com/en). When I add a hreflang tag below, is it enough to just target English search queries no matter where they come from by using only the language code, or should I specify all countries (UK, USA, Ireland, Australia, NZ, ...) by using separate hreflangs? Same for Portuguese, Dutch & French... Should I just add the language tags or specify all countries? Like I said, we don't have localized versions for those countries, with specific content targeting those countries.
Technical SEO | | jorisbrabants0 -
Url folder structure
I work for a travel site and we have pages for properties in destinations and am trying to decide how best to organize the URLs basically we have our main domain, resort pages and we'll also have articles about each resort so the URL structure will actually get longer:
Technical SEO | | Vacatia_SEO
A. domain.com/main-keyword/state/city-region/resort-name
_ domain.com/family-condo-for-rent/orlando-florida/liki-tiki-village_ _ domain.com/main-keyword-in-state-city/resort-name-feature _
_ domain.com/family-condo-for-rent/orlando-florida/liki-tiki-village/kid-friend-pool_ B. Another way to structure would be to remove the location and keyword folders and combine. Note that some of the resort names are long and spaces are being replaced dynamically with dashes.
ex. domain.com/main-keyword-in-state-city/resort-name
_ domain.com/family-condo-for-rent-in-orlando-florida/liki-tiki-village_ _ domain.com/main-keyword-in-state-city/resort-name-feature_
_ domain.com/family-condo-for-rent-in-orlando-florida/liki-tiki-village-kid-friend-pool_ Question: is that too many folders or should i combine or break up? What would you do with this? Trying to avoid too many dashes.0 -
Do links that point to an old URL retain value if we have the correct redirects?
I've recently taken over SEO for my company. There are a lot of old links that point to our old URL (www.examplecountry.com changed to (www.examplewhatwedo.com). We have the correct redirects in place and Open Site Explorer shows many of the links pointing to the old site even though I'm inputting the new URL. I just want to put my mind at rest that any value these links have doesn't got lost due to the URL change. Unfortunately a lot of them have the old URL as the anchor text....which I guess will decrease their quality? Thanks!
Technical SEO | | MarbellaSurferDude0 -
Do you get credit for an external link that points to a page that's being blocked by robots.txt
Hi folks, No one, including me seems to actually know what happens!? To repeat: If site A links to /home.html on site B and site B blocks /home.html in Robots.txt, does site B get credit for that link? Does the link pass PageRank? Will Google still crawl through it? Does the domain get some juice, but not the page? I know there's other ways of doing this properly, but it is interesting no?
Technical SEO | | DaveSottimano0 -
Diagnostic says too many links on a page and most of the pages are from blog entries. Are tags considered links? How do I decrease links?
I just ran my first diagnostic on my site and the results came back were negative in the area of too many links one a page. There were also quite a few 404 errors. What is the best way to fix these problems? Most of the pages with too many links are from blog posts, are the tags counted as well and is this the reason for too many links?
Technical SEO | | Newport10300 -
Changing url structure
We are an ecommerce site established in 2005 and currently have some great rankings. We are about to move away from our existing platform, actinic and move on to Magento. This will change all our url's. What are the steps we should be asking our web developers to follow in order to minimize the consequences of moving? Thank you.
Technical SEO | | LadyApollo0 -
Re-write of url
Hi, I would like your input on the following dilemma I am wanting to target the keyword "download xml". at the moment Google indexes us on page 2 and indexes the page www.ourdomain.com/download.aspx I would like to rewrite the url to be /download-xml-editor.aspx The current page is a pr5 and is our most trafficked and externally inked to page. My thoughts are quite mixed on how to do this. approach 1: re-write url of "download.aspx" and setup permanent 301 redirect of download.aspx to download-xml-editor.aspx approach 2: create a new page called download-xml-editor and 301 redirect that to the current stronger page which is download.aspx approach 3: create new page called download-xml-editor with unique content and try and get that page to rank over time, allowing it to build up links and not compromise the current page, then later 301 redirect How would you deal with this and what are your recommendations
Technical SEO | | LiquidTech0