Question about region codes and Hreflang?
-
A client (see example above) has accidentally place region codes into the hreflang when the content is intended for all audiences that speak the language. So "fr-fr" should really just be "fr" since those that are "fr-be", "fr-ca", and "fr-ch" should all be getting to the French version of the website too. And there isn't a specific subdirectory for French speakers in Belgium or France or Switzerland, etc.
However, when looking at Google Analytics, these region codes don't seem to be stopping those from other regions from getting to the correct landing page. So a user from Belgium is still getting to https://www.example.com/fr/ depsite the "fr-fr" in the hreflang.
So question: is it worth adjusting the hreflang to be non-region specific (from
-
Hreflang tags are essential for indicating to search engines the language and geographical targeting of your web pages. They help search engines serve the most relevant version of your content to users based on their language and location preferences. (study abroad)
Region codes, in this context, are two-letter country codes that you can use in conjunction with hreflang tags to specify the target audience for a particular page. These codes follow the ISO 3166-1 alpha-2 standard and are used to indicate the country or region to which your content is specifically tailored.
For example, if you have a web page with content in English but want to target users in the United States and the United Kingdom, you would use hreflang tags like this:
html
Copy code
<link rel="alternate" hreflang="en-US" href="https://www.example.com/us/page" />
<link rel="alternate" hreflang="en-GB" href="https://www.example.com/uk/page" />
In this example:en-US specifies that the page is intended for English-speaking users in the United States.
en-GB specifies that the page is intended for English-speaking users in the United Kingdom.
Hreflang tags help search engines understand the intended audience for your content and improve the user experience by delivering the most relevant version of your page in search results.Remember to implement hreflang tags correctly and consistently across your international web pages to ensure that search engines accurately understand your targeting preferences and display the appropriate pages to users in different regions.
-
Hello
I am facing a Problem. My website DA is very Low. Someone can help me how I can increase my website DA. -
Thanks For The Great Guide.
-
I would adjust it personally. If for no other reason than, if someone analyses the site later on they should be able to get a good idea of your strategy. Even if you come back to the site later and re-crawl it. Leaving it as it is will inevitably cause strategic confusion down the line. Just set it to your original vision, keep all the signals under your control pointing in a single direction
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
-
Question & Review should be seperate page
Hi pls look at the below page, http://www.powerwale.com/store/exide-xplore-xltz4-3ah-battery/76933 is questions and review should be in seperate page, as i think that in the future the comments, will become Key word stuffing for the product page. Pls suggest.. If yes, suggest the best url as well.. thanks
Intermediate & Advanced SEO | | Rahim1191 -
Can multiple geotargeting hreflang tags be set in one URL? International SEO question
Hi All, Thank you for this great post! I have a question please. If i target www.onedirect.co.nl/en/ in English for Holland, Belgium and Luxembourg, are the tags below correct? English for Holland, Belgium and Luxembourg: http://www.example.co.nl/en/" hreflang="en-nl" /> http://www.example.co.nl/en/" hreflang="en-be" /> http://www.example.co.nl/en/" hreflang="en-lu" /> AND Targeting Holland and Belgium in Dutch: Pour la page www.onedirect.co.nl on peut inclure ce tag: http://www.example.co.nl" hreflang="nl-nl" /> http://www.example.co.nl" hreflang="nl-be" /> thanks a lot for your help!
Intermediate & Advanced SEO | | Onedirect_uk0 -
How important is my code to text ratio on web pages?
I've been getting mixed reviews on this and I'm trying to figure out whether this is something I should be concerned with. We have a higher than recommended amount of code, relative to "content" but not by a crazy amount. Thanks!
Intermediate & Advanced SEO | | absoauto0 -
Bizarre iframes question
I've been asked to do an audit of http://www.equipment4garages.com/. The first thing I did was check the code, and saw that the whole thing has a clone of the original site in an iframe. I can't for the life of me think why anybody would do that, so I was wondering if someone here could shed some light on it?
Intermediate & Advanced SEO | | neooptic0 -
How To Internationalize - Big Question
Hi all, Here is a big question. We have a long-established good content website with a .co.uk domain. The site is UK focussed. However, we are planning a new feature which will be UK and worldwide. So do we: 1. Keep it all on our .co.uk ? 2. Put the non-UK parts on a .com domain ? We don't have any content as such for a separate domain, and are not planning any. But, we are not sure if for example US users would be unimpressed with a UK domain. We could fudge it with "co.uk/us" etc. (Notice how we have not mentioned Google. Fed-up chasing big G the whole time. We just want to concentrate on our users and the service we provide to them. But G remains the elephant crapping in the corner of the room.) Also, we are asking this question before we let our developers and designers get to work. Basically we value Moz community opinions over and above theirs. Realise this is a big question, but you have big brains. Please chip in.
Intermediate & Advanced SEO | | dexm100 -
What to do when unique content is out of the question?
SEO companies/people are always stating that unique, quality content is one of the best things for SEO... But what happens when you can't do that? I've got a movie trailer blog and of late a lot of movie agencies are now asking us to use the text description they give us along with the movie trailer. This means that some pages are going to have NO unique content. What do you do in a situation like this?
Intermediate & Advanced SEO | | RichardTaylor0 -
Anyone have an hour right now to cover some SEO questions
Hi folks, I need someone to Skype with me today, on some seo questions, for a multi wordpress set up I`m in middle of developing for franchise local sites. Will pay you $95 for the hour. Thanks Brent Sky pe me: cyberbrent (Brent H, Richmond, BC)
Intermediate & Advanced SEO | | MenInKilts1 -
Question about 301 redirect for trailing / ?
I am cleaning up a fairly large site. Some pages have a trailing slash on the end some don't. Some of the existing backlinks built used a trailing slash in the url and some didn't. We aren't concerned with picking a particular one but just want to get one set and stick to it from now on. I am wondering, would I clean this up within the same redirect in the htaccess file that takes care of the www and non www? example RewriteEngine On
Intermediate & Advanced SEO | | PEnterprises
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] I currently use that to redirect the www. to the non www as you can see. However here is what I was confused about. Would this code be enough to redirect ALL pages with a / to the ones without? or would I also need to add another code (so there is 2) to my htaccess like below? RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] That way, now, even the non www pages with a trailing slash will redirect to the non www without the trailing slash. Hopefully you understand what I am getting at. I just want to redirect EVERYTHING to the non www WITHOUT a / Thank you Jake0