Hreflang doubt use correctly
-
Hello,I have a question, I want to know which option is best for implementing a multi languages. We have a client whose website will have English and Spanish languages, both languages have the same content but English we focus on the US and UK, and Spanish only for the country Spain, the question arises what is the correct nomenclature we use or would it be the best value.**Option 1:****Option 2:**Or any of the two options is correct What would be the correct ?. Another question, if a German user is in Spain, and do a search on (Google Spain), what will be the best option that should be implemented, / is-de / or single / de /, which one will position before ( provided that the statement I is correct). A greeting and thanks.
-
I would go with none of the above.
Your second option has "en" on the Spanish line by the way.
I would use this structure (and hreflang):
Also, once you're done test your code on Flang. And don't forget to do your inner pages as well.
-
You'll want the shortest, most technically feasible URL structure based on whatever website platform you're using. Subfolders like http://example.com/es/ and http://example.com/en/ are ideal, and there is a lot of talk about subdomain vs. subfolder on MOZ. Keep in mind you also have a http://example.com landing page, so you'll either need to redirect users or have visitors select a language on this home page. There is pretty thorough documentation here https://support.google.com/webmasters/answer/189077?hl=en on how to use the hreflang attribute in each case.
I leave my default language as the base URL and put additional languages in subfolders. Statistically, I tend to rank higher for keywords in my default language than for the translated keywords in additional languages. You might want to target the market with the most traffic or conversions (whatever metric you prioritize) with the default URL and then add additional languages as subfolders, preferably without hyphens or underscores in the locale code, i.e. en-us, en-uk, etc. This is more for your visitors and not a particular ranking factor, but shorter domains are preferable.
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 setup for Europe (in English) + .eu domain
We have been struggling to find answers since we launched our European website. We have the following structure: WEBSITE HUB
Intermediate & Advanced SEO | | moz-maddesigngroup
https://ecosmartfire.com This works as a hub for our users. We show the url printed in our marketing materials. When someone lands in this URL, we check if we have a local store in the user's location and prompt the user to go to the right destination. The default hreflang is: LOCAL VERSIONS
https://ecosmartfire.com/us/en/ (United States)
https://ecosmartfire.com.au (Australia)
https://ecosmartfire.eu (Europe)
https://ecosmartfire.fr (France) We have no problems with United States, Australia and France. The hreflang tags look like this: EUROPE
https://ecosmartfire.eu We have two problems in Europe:
1. Language: the European store is available just in English
2. No hreflang: Europe doesn't have a hreflang that covers all the countries so we had to create lots of hrelangs pointing to the same location. The hreflang tags look like this: ... and the list goes on. Do you think this is the right approach? Or should I just remove these European hreflang tags from the website code? Thanks,0 -
Question on Indexing, Hreflang tag, Canonical
Dear All, Have a question. We've a client (pharma), who has a prescription medicine approved only in the US, and has only one global site at .com which is accessed by all their target audience all over the world.
Intermediate & Advanced SEO | | jrohwer
For the rest of the US, we can create a replica of the home page (which actually features that drug), minus the existence of the medicine, and set IP filter so that non-US traffic see the duplicate of the home page. Question is, how best to tackle this semi-duplicate page. Possibly no-index won't do because that will block the site from the non-US geography. Hreflang won't work here possibly, because we are not dealing different languages, we are dealing same language (En) but different Geographies. Canonical might be the best way to go? Wanted to have an insight from the experts. Thanks,
Suparno (for Jeff)1 -
<aside>Tag Use</aside>
Hi Guys, Just after some clarification - I have recently been told that by placing content in <aside></aside> tags spiders will ignore the content. Is this the case? I always thought that content placed in these tags was to identify related content. To put the query into some context, we have the same content on multiple pages on a site, which is relevant to the main body copy - but could throw up duplicate content issues... Thanks in advance.
Intermediate & Advanced SEO | | SEOBirmingham811 -
How do I use public content without being penalized for duplication?
The NHTSA produces a list of all recalls for automobiles. In their "terms of use" it states that the information can be copied. I want to add that to our site, so there is an up-to-date list for our audience to see. However, I'm just copying and pasting. I'm allowed to according to NHTSA, but google will probably flag it right? Is there a way to do this without being penalized? Thanks, Ruben
Intermediate & Advanced SEO | | KempRugeLawGroup1 -
Correct URL Parameters for GWT?
Hi, I am just double checking to see if these parameters are ok - I have added an attachment to this post. We are using an e-commerce store and dealing with faceted navigation so I excluded a lot of parameters from being crawled as I didnt want them indexed. (they got indexed anyway!). Advice and recommendations on the use of GWT would be very helpful - please check my screenshot. thanks, B0gSmRu
Intermediate & Advanced SEO | | bjs20100 -
Link anchor text: only useful for pages linked to directly or distributed across site?
As a SEO I understand that link anchor text for the focus keyword on the page linked to is very important, but I have a question which I can not find the answer to in any books or blogs, namely: does inbound anchor text 'carry over' to other pages in your site, like linkjuice? For instance, if I have a homepage focusing on keyword X and a subpage (with internal links to it) focusing on keyword Y. Does is then help to link to the homepage with keyword Y anchor texts? Will this keyword thematically 'flow through' the internal link structure and help the subpage's ranking? In a broader sense: will a diverse link anchor text profile to your homepage help all other pages in your domain rank thematically? Or is link anchor text just useful for the direct page that is linked to? All views and experiences are welcome! Kind regards, Joost van Vught
Intermediate & Advanced SEO | | JoostvanVught0 -
How long is it safe to use a 302 redirect?
Hi All, Lets assume there is site A and site B, both sites are live on the internet today as standalone businesses, but they sell very similar products. Site B has built up some link equity and will eventually become the domain for site A due to an organisational re-brand. For the time being however site A will remain, but site B needs to disappear temporarily, but not lose the link equity which has been built up against it. My current thinking is to 302 redirect site B to site A such that users and search bots accessing site B will be redirected to site A whilst leaving the link equity that exists against site B fully intact and allowing us to continue to grow it should we wish to. The question is, does anybody have a view on how long it is safe to use a 302 temporary redirect for? i.e., is 8-10 months to long. Thanks, Ben
Intermediate & Advanced SEO | | BenRush0