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
-
10 quick questions for SEO experts!
Hey guys! I'm working to build something to make technical SEO audit less painful and I'd like to hear from other SEO experts. Can I ask you to answer this quick survey: https://mykoto.typeform.com/to/R5Gvyr THANKS!
Intermediate & Advanced SEO | | jbrisebois0 -
Http to https question (SSL)
Hi, I recently made two big changes to a site - www.aerlawgroup.com (not smart, I know). First, I changed from Weebly to Wordpress (WP Engine hosting with CDN + Cloudflare - is that overkill?) and I added SSL (http to https). From a technical perspective, I think I made a better site: (1) blazing fast, (2) mobile responsive, (3) more secure. I'm seeing the rankings fluctuate quite a bit, especially on the important keywords. I added SSL to my other sites, and saw no rankings change (they actually all went up slightly). I'm wondering if anyone has had experience going to SSL and can give me feedback on something I might have overlooked. Again, it's strange that all the other sites responded positively, but the one listed above is going in the opposite direction. Maybe there are other problems, and the SSL is just a coincidence. Any feedback would be appreciated. I followed this guide: http://moz.com/blog/seo-tips-https-ssl - which helped tremendously (FYI).
Intermediate & Advanced SEO | | mrodriguez14400 -
Search box within search results question
I work for a Theater news website. We have two sister sites, theatermania.com in the US and whatsonstage.com in London. Both sites have largely the same codebase and page layouts. We've implemented markup that allows google to show a search box for our site in its results page. For some reason, the search box is showing for one site but not the other: http://screencast.com/t/CSA62NT8 We're scratching our heads. Does anyone have any ideas?
Intermediate & Advanced SEO | | TheaterMania0 -
What Happens If a Hreflang Sitemap Doesn't Include Every Language for Missing Translated Pages?
As we are building a hreflang sitemap for a client, we are correctly implementing the tag across 5 different languages including English. However, the News and Events section was never translated into any of the other four languages. There are also a few pages that were translated into some but not all of the 4 languages. Is it good practice to still list out the individual non-translated pages like on a regular sitemap without a hreflang tag? Should the hreflang sitemap include the hreflang tag with pages that are missing a few language translations (when one or two language translations may be missing)? We are uncertain if this inconsistency would create a problem and we would like some feedback before pushing the hreflang sitemap live.
Intermediate & Advanced SEO | | kchandler0 -
Ranking for Regions Nearby, but not Far Away Regions
Greetings Mozzers, I'm working on a web based companies SEO where their services can be optimized for each area. We have different pages for different keywords with a region attached to the keyword string we are going after. For example, if the keyword is "Belts" and the regions you want to go after is New York and Miami. You are located in Miami so you have a page for "Miami Belts" and you rank well for it, but you want to start selling them online and want to rank for New York, so we have a "New York Belts" optimized web page that is completely unique content, however it isn't ranking at all. Any thoughts? I know the address would be helping the the Miami page, but besides that why would the New York optimized page not rank? Lets say the two regions are equally competitive. Any clarification and information is greatly appreciated.
Intermediate & Advanced SEO | | MonsterWeb280 -
Followup question to rand(om) question: Would two different versions (mobile/desktop) on the same URL work well from an SEO perspective and provide a better overall end-user experience?
We read today's rand(om) question on responsive design. This is a topic we have been thinking about and ultimately landing on a different solution. Our opinion is the best user experience is two version (desktop and mobile) that live on one URL. For example, a non-mobile visitor that visits http://www.tripadvisor.com/ will see the desktop (non-responsive) version. However, if a mobile visitor (i.e. iOS) visits the same URL they will see a mobile version of the site, but it is still on the same URL There is not a separate subdomain or URL - instead the page dynamically changes based on the end user's user agent. It looks like they are accomplishing this by using javascript to change the physical layout of the page to match the user's device. This is what we are considering doing for our site. It seems this would simultaneously solve the problems mentioned in the rand(om) question and provide an even better user experience. By using this method, we can create a truly mobile version of the website that is similar to an app. Unfortunately, mobile versions and desktop users have very different expectations and behaviors while interacting with a webpage. I'm interested to hear the negative side of developing two versions of the site and using javascript to serve the "right" version on the same URL. Thanks for your time!
Intermediate & Advanced SEO | | davidangotti0 -
Duplicate Content Question
Brief question - SEOMOZ is teling me that i have duplicate content on the following two pages http://www.passportsandvisas.com/visas/ and http://www.passportsandvisas.com/visas/index.asp The default page for the /visas/ directory is index.asp - so it effectively the same page - but apparently SEOMOZ and more importantly Google, etc treat these as two different pages. I read about 301 redirects etc, but in this case there aren't two physical HTML pages - so how do I fix this?
Intermediate & Advanced SEO | | santiago230 -
"Too many links" - PageRank question
This question seems to come up a lot. 70 flat page site. For ease of navigation, I want to link every page to one-another. Pure CSS Dropdown menu with categories - each expanding to each of the subpage. Made, implemented, remade smartphone friendly. Hurray. I thought this was an SEO principle - ensuring good site navigation and good internal linking. Not forcing your users to hit "back". Not forcing your users to jump through hoops. But unless I've misread http://www.seomoz.org/blog/how-many-links-is-too-many then this is something that's indirectly penalised by Google because a site with 70 links from its homepage only lets each sub-page inherit 1/80th of its PageRank. Good site navigation vs your subpages are invisible on Google.
Intermediate & Advanced SEO | | JamesFx0