Upper case or/and lower case in rel="alternate" hreflang
-
Hi Mozzers,
I have a question about the rel="alternate" hreflang tag, with an example.
When I use two subfolders for two different countries/languages, for instance www.domain.com/nl-nl/ and www.domain.com/nl-en/ (for the English version) and I want to use the rel="alternate" hreflang tag, do I need to follow the ISO standards concerning Uppercase country code and Lowercase language code (en-NL)? Or is it okay to use the Lowercase country and language code (en-nl), since we also use this in the URL of the Subfolder.
What does Google prefer?
Thanks in advance.
-
Hey there, Lowercase is fine.
Not sure why you would have /nl-nl/ and /nl-en/ though, it's either English or Dutch, right?
I've set this up many times before and it works just fine, although it's sometimes a little overkill unless you have the English version of a page ranking higher than the Dutch version in Google.nl for example.
I usually find adding these as separate websites in WMT's and setting the target country correctly for each site you shouldn't have any problems.
So add http://www.domain.com/nl/ as its own site in WMT and set target country to Netherlands, then add http://www.domain.com/en/ as another site and set its target country to UK.
Hope this helps,
Goodluck,
Woody
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 missing
Hi everybody, I cannot find the hreflang in the source code neither in the sitemaps but Google search console is showing me the tag. Did anyone have this problem? Or does anyone know how to check it? I scanned the site and no tool detected the hreflang in it. Thank you.
International SEO | | poliedric0 -
For My International Sites only Homepage in other Language rest Pages are in English. Hreflang required here?
Hello All, For my ecommerce site at my homepage there is an Language option of 9 different countries. My main site - abcd.co.uk and other sites are like this se.abcd.co.uk, fr.abcd.co.uk, es.abcd.co.uk etc From my main site if user clicks on fr.abcd.co.uk then France site will open but when he click on any link it will redirect to my UK site. On France site homepage if user hover the cursor then links are visible of UK site only. My query is ;- Do it required here to implement hreflang? As only homepage is in different language? Do it anything wrong in google point of view? Thanks!
International SEO | | wright3350 -
Rel Canonical or Rel Alternate advice please
Hi All, I was hoping to just get some advice on my situation as to the right markup to use for our situation, We are working on a more user/mobile friendly redesign for our website and are hoping to release it soon, Our primary URL is www.cirrusresearch.co.uk as we are a UK based company, This has stayed as our primary international website for historical and political reasons as we still get good traffic from overseas, the .co.uk doesn't really seem to hold us back internationally, However underlying we do have the www.cirrusresearch.com pointed all of our pages, which is not a general redirect but is giving us a duplicate of each of our pages but with the .com extension, we basically have an exact duplication of our .co.uk website but with the .com extension, we are not looking to switch to the .com as a primary domain, I have noticed when doing some USA ranking research that Google is preferring to display the alternate .com versions of each page (Understandably) We have not noticeably been penalized by Google for being a duplicate. I took a look at the documentation on the webmaster support on the use of REL Canonical and REL Alternate and am unsure which of these would be most suited markup for my crazy situation, Any advice on this please? Thanks,James
International SEO | | Antony_Towle0 -
Rel alternate use for multi regional website with english language and same content
I have a website targeting multi language and multi regional users. For example, my main site is www.abcd.com which is in English and targeting US. I have the same content in English which is targeting UK and India with www.uk.abcd.com and www.india.abcd.com. I want to avoid content duplication and help search engines to show the right pages on the country level searches. I have researched a bit and have come to conclusion of using re alternate tag. Can someone help me with how to place the codes for the same. Many thanks Mozers!
International SEO | | HiteshBharucha0 -
Global SEO - How quickly/aggressively should one expand into multiple countries?
SITUATION: Our client is a global company lacking the global presence, so naturally the idea is performing international/global SEO in each country. For benchmarking purposes, our plan is to focus on a select number of keywords (ie 8-15) for each country and begin link building within each respective country. All SEO effort (ie. link building) will be for sub-folders (ie. www.client.com/subfolder/) on the same top level domain. Note, each country may have multiple languages, so each language will be broken out as it's own unique SEO campaign with it's very own strategy and link building efforts. For example: Mexico has 2 languages (English & Spanish) and will be considered 2 separate campaigns. PROBLEM: The client wants to be extremely aggressive and perform SEO on 3 new countries every month. This amounts to 36 new countries/SEO campaigns per year. Assuming each country has 2 languages each, we are looking at 6 SEO campaigns per month, or 72 per year. Our concern is that since all SEO effort will be performed on the same top level domain, we may be growing too fast and the search engines may consider the addition of these new pages and links to be too 'spammy'. We'd love to hear some feedback or personal experience on what might be considered a "safe" or "healthy" expansion into different countries. Thanks!
International SEO | | ByteLaunch0 -
Multi Language / target market site
What is the best way to deal with multiple languages and multiple target markets? Is it better to use directories or sub-domains: English.domain.com Portuguese.domain.com Or Domain.com Domain.com/Portuguese Also should I use language meta tags to help the different language versions rank in different geographic areas e.g. Are there any examples of where this has been done well?
International SEO | | RodneyRiley0 -
Do ".edu." links with appended ccTLD have similar value to .edu links with no ccTLD?
Just wondering if there is any evidence or data to suggest that, all things being equal, a link from a college or university with a ccTLD has more value than another ccTLD link. I have some anecdotal evidence that several URLs with the *.edu.ph ccTLD have domain authorities over 55. My expectation is that because only a TLD is ever truly a TLD: ucla_.edu_ is a true .edu link, but for a URL such as "feu.edu.ph" the Top-level domain is the ccTLD, i.e. .ph for the Philippines, and the .edu portion of the root domain will be irrelevant to the link's value. But I'm hoping I'm wrong... 🙂
International SEO | | BrianCrouch0 -
Does it matter whether you use /en vs /uk
I have a global site targeting many countries including the UK which is the only English language site. Does it matter whether I use /en or /uk for the UK sub-folder? If I already have /en in place, but my Google UK listings are struggling, will it benefit me to switch to /uk? I honestly don't think it matters too much, but given the choice would've gone for the /uk I'm trying to weigh up whether it is worth the effort of changing it.
International SEO | | Red_Mud_Rookie0