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
-
Href lang and multilingual question
Greetings Moz-Hive mind! I'm hoping you can help me on the internationalisation conundrum below; We currently have a website with three distinct 'locales' US, SEA and UK we automatically redirect customers using IP recognition to a locale which matches, we also determine their currency based on IP. The issue we currently have is a lot of duplicate content and no use of href lang or rel=canonical tags etc... My proposed structure would be to create a locale based directory for the three locales we offer. / - being US and most other Worldwide /uk - being UK /as - being Hong Kong and other Asian territories. How would you suggest we set up the href lang tags for these? Because technically there are going to be multiple language possibilities within. Our main customers are English only if this helps. Also as a secondary question, how should I set up the Google Search Console settings for each of these directories? Many thanks in advance.
Intermediate & Advanced SEO | | Ashley-Jacada0 -
GWT does not play nice with 410 status code approach to expire content? Use 301s?
We have been diligently managing our index size in Google for our sites and are returning a 410 status code for pages that we no longer consider "up-to-date" but still carry value for users to access to have Google remove them from our index to keep it lean. However we have been receiving GWT warning across sites because of the 410 status codes Google is encountering which makes us nervous that Google could interpret this approach as a lack of quality of our site. Does anyone have a view if the 410 approach is the right approach for the given example or if we should consider maybe simply using 301s or another status code to keep our GWT errors clean? Further notes there is hardly ever any link juice being sent to those pages so it is not like we are missing out on that the pages for which we return 410 are also marked as noindex and nofollow
Intermediate & Advanced SEO | | petersocapro0 -
Do allow or disavow, that is the question!
We're in the middle of a disavow process and we're having some difficulty deciding whether or not to disavow links from Justia.com and prweb.com - justia.com alone is giving us 23,000 links with just 76 linked pages. So, to allow, or disavow? That's the question! What do you think guys? Thank you. John.
Intermediate & Advanced SEO | | Muhammad-Isap0 -
International SEO Question
_The company I work for has a website www.example.com that ranks very well in English speaking countries - US, UK, CA. For legal reasons, we now need to create www.example.co.uk to be accessible and rank in google.co.uk. Obviously we want this change to be as smooth as possible with little effect on rankings in the UK. We have two options that we're talking through at the moment - Use the hreflang tag on both the .com and the .co.uk to tell Google which site to rank in each country. My worry with this is that we might lose our rankings in the UK as it will be a brand new site with little to no links pointing to it. 301 redirect to the .co.uk based on UK IP addresses. I'm skeptical about this. As a 301 passes most of the link juice, I'm not sure how Google would treat this type of thing - would the .com lose ranking? So my questions are - would we lose ranking in the UK if we use option 1? Would option 2 work? What would you do? Any help is appreciated._
Intermediate & Advanced SEO | | awestwood0 -
High level rel=canonical conceptual question
Hi community. Your advice and perspective is greatly appreciated. We are doing a site replatform and I fear that serious SEO fundamentals were overlooked and I am not getting straight answers to a simple question: How are we communicating to search engines the single URL we want indexed? Backstory: Current site has major duplicate content issues. Rel-canonical is not used. There are currently 2 versions of every category and product detail page. Both are indexed in certain instances. A 60 page audit has recommends rel=canonical at least 10 times for the similar situations an ecommerce site has with dupe urls/content. New site: We are rolling out 2 URLS AGAIN!!! URL A is an internal URL generated by the systerm. We have developed this fancy dynamic sitemap generator which looks/maps to URL A and creates a SEO optimized URL that I call URL B. URL B is then inserted into the site map and the sitemap is communicated externally to google. URL B does an internal 301 redirect back to URL A...so in an essence, the URL a customer sees is not the same as what we want google to see. I still think there is potential for duplicate indexing. What do you think? Is rel=canonical the answer? In my research on this site, past projects and google I think the correct solution is this on each customer facing category and pdp: The head section (With the optimized Meta Title and Meta Description) needs to have the rel-canonical pointing to URL B
Intermediate & Advanced SEO | | mm916157
example of the meta area of URL A: What do you think? I am open to all ideas and I can provide more details if needed.0 -
How to format a video sitemap for GWT using Vimeo iframe code
I noticed a thread on this forum about using the old embedd code from vimeo for videos, although I can't see this option in Vimeo in 2013. My Question is I have Iframe embedded videos from vimeo, How do I format a google video site map accordingly? or do I need a custom media player instead?
Intermediate & Advanced SEO | | robertrRSwalters0 -
Question | Blogger, Godaddy, HostGator
If I buy a new domain and do forwarding with masking to my blogger post URL what would happen to the backlinks that were pointing to my blog post exactly? Will the power link back to this new domain or will it stay there? I have a blogger account, a domain from godaddy, and hosting? People are telling me that forwarding with masking is bad for <acronym title="Search Engine Optimization">SEO</acronym> so I should set blogger with godaddy or something like that I don't know. I need a hosting though in order to do that and free ones don't offer changes to the CNAME records? so I got hostgator. I am up to the part where I need to set the records in the CNAME for hostgator but every time I try to list ghs.google as the whatever, it won't work! It keeps telling me the record is already there when this is my FIRST time using this! How can it be there when I haven't even touched it? Please help me This is the tutorial im using : http://support.google.com/blogger/bi...381&page=ts.cs I get stuck here: Find the control panel on your domain registrar’s website, and locate your DNS (Domain Name System) settings. In order to link your blog to your custom domain, follow the instructions below to enter your "CNAME" and "A-records."
Intermediate & Advanced SEO | | 678648631264
CNAME
Where it says Name, simply enter "www" and list ghs.google.com as the Host Name. See our detailed instructions on providing CNAMEs for various registrars. If yours isn't listed, or if you run into other difficulties, contact your registrar directly and they can help you out.
A-records (optional)
The following action links your naked domain (example.com) to your actual site (www.example.com). If you skip this step, visitors who leave off the "www" will see an error page.
Enter your domain name in the format example.com, and list the I.P. addresses shown below in the "A" section. You'll need to create four separate A-records which point to four different Google IPs. 216.239.32.21
216.239.34.21
216.239.36.21
216.239.38.21 Could I just leave my forwarding with masking on with my domain + blogger to make everything easier or what? And, is there any benefit in SEO if I don't have an EMD but it's something like this www.General.com/Keyword 1 www.General.com/Keyword 2/Posts/etc0 -
Sitemap.xml Question
I am pretty new to SEO and I have been creating new pages for our website for niche terms. Should I include ALL pages on our website in the sitemap.xml or should I only have our "main" pages listed on the sitemap.xml file? Thanks
Intermediate & Advanced SEO | | threebiz0