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
-
Does using a hash menu system drive SEO power to my sub-pages?
My website (a large professional one) uses a interesting menu system. When a user hovers over text (which is not clickable), then a larger sub-menu appears on the screen, when they hover over something else, then this sub-menu changes or disappears. This menu is driven by a hash(#), which makes me wonder. I this giving my sub-pages an SEO kick? Or... is there another way that we should be doing this in order to get that SEO kick?
Intermediate & Advanced SEO | | adamorn0 -
Hreflang tag on links to alternate language site
Hey everyone! In the interest of trying to be brief, here's the situation in my favorite form of communication, bullet points! Client has two sites; one is in English and one is in Japanese Each site is a separate URL, no sub-domains or sub-pages Each main page on the English version of the site has a link to the homepage of the Japanese site Site has decent rankings overall, with room for improvement from page 2 to page 1 No Hreflang tags currently used in links to the Japanese version from the English version Given that the site isn't really suffering for most rankings, would this be helpful to implement on the English version? Ideally, I'd like each link to be updated to the corresponding subject matter of the Japanese, but in the interim it seems like identifying to Google that the link on the other side is a different language might be helpful to both the user and to maybe help those rankings on page two creep a little higher to page one. Thanks for reading, I appreciate your time.
Intermediate & Advanced SEO | | Etna0 -
What a PBN is? please describe how you use them for SEO.
what a PBN is? please describe how you use them for SEO.
Intermediate & Advanced SEO | | Green.landon0 -
Can I use the same set of social media accounts on two sites?
I have a client who's company name / main site name is not his name. All his social accounts connected to his site are in his name. The site is verified with Google Places, etc. Now he asked for me to create a site for him in his own name with some similar info and a lot of new info. The million dollar question is do I use the same social media accounts on the new site? Facebook, twitter, youtube, etc? Will that hurt the organic rankings of the main site? I've seen this similar situation before. You may have someone who works at a large corporation who is mentioned on the main site has their own personal profile site just about them. Where they can go more in depth about things they are doing. If the other set of social account where in the company name it would be a no brainer to create new social accounts in his name. The issue is the main companies social accounts are already in his name.
Intermediate & Advanced SEO | | markpine3600 -
How to make an AJAX site crawlable when PushState and #! can't be used?
Dear Mozzers, Does anyone know a solution to make an AJAX site crawlable if: 1. You can't make use of #! (with HTML snapshots) due to tracking in Analytics 2. PushState can't be implemented Could it be a solution to create two versions of each page (one without #!, so campaigns can be tracked in Analytics & one with #! which will be presented to Google)? Or is there another magical solution that works as well? Any input or advice is highly appreciated! Kind regards, Peter
Intermediate & Advanced SEO | | ConversionMob0 -
What Sources to use to compile an as comprehensive list of pages indexed in Google?
As part of a Panda recovery initiative we are trying to get an as comprehensive list of currently URLs indexed by Google as possible. Using the site:domain.com operator Google displays that approximately 21k pages are indexed. Scraping the results however ends after the listing of 240 links. Are there any other sources we could be using to make the list more comprehensive? To be clear, we are not looking for external crawlers like the SEOmoz crawl tool but sources that would be confidently allow us to determine a list of URLs currently hold in the Google index. Thank you /Thomas
Intermediate & Advanced SEO | | sp800 -
Can I use rel=canonical and then remove it?
Hi all! I run a ticketing site and I am considering using rel=canonical temporary. In Europe, when someone is looking for tickets for a soccer game, they look for them differently if the game is played in one city or in another city. I.e.: "liverpool arsenal tickets" - game played in the 1st leg in 2012 "arsenal liverpool tickets - game played in the 2nd leg in 2013 We have two different events, with two different unique texts but sometimes Google chooses the one in 2013 one before the closest one, especially for queries without dates or years. I don't want to remove the second game from our site - exceptionally some people can broswer our website and buy tickets with months in advance. So I am considering place a rel=canonical in the game played in 2013 poiting to the game played in a few weeks. After that, I would remove it. Would that make any sense? Thanks!
Intermediate & Advanced SEO | | jorgediaz0 -
Doubt of multi country/language site
Hi ! We are building a site that is going to be available in some countrys with the same language (spanish), and we have some doubts about whih is the best way to do it. Option 1) Subdomains: Example; españa.mydomain.com , mexico.mydomain.com (the problem here is that there are some problems with linkbuilding with subdomains) Option 2) Language folders: Example; mydomain.com/es/es mydomain.com/es/mx (the problem here is that the prestige of the category in the url is going to be in 3rd position, example: mydomain.com/es/es/category and is not recommended for SEO) Option 3) Country domains Example; mydomain.es<a></a> mydomain.mx (the link building is going to be much more, cause we have to multipliate the links that we need ffor being in a good position with the diferent domains of each country) I am not sure of which one is the best option, what do you think? The only thing I am sure is to use te TAG: rel="alternate" hreflang="x" for not having duplicate content, because index and categories are going to be the same, the only thing that is going to change is the products of each country. Looking forward to your suggestions! Thanks, Regards Exequiel
Intermediate & Advanced SEO | | SeoExpertos0