Internationalization guides for subfolder structure
-
I'm wondering if there are any guides out there that list how subfolders should be structured for Internationalization? The first language/location that I'm targeting is Portuguese in Brazil so should my folder structure be:
or
I did find the guide below but was wondering if there was perhaps anything from Google?
-
Hi Gianluca,
I also have a translation for Latin American Spanish, what is the best way to target that? Do I need a site for each country? Or should I just call it "es" and use the same site for each country that I need to target?
-
Yes, I was actually going through the Moz guide to international seo and hreflang is mentioned.
https://moz.com/blog/guide-to-international-seo
Yes, I'm using Wordpress but I decided to go with Multisite. I didn't really like any of the plugins out there that handle translations. I'll look into the rewrite rule, thanks!
-
_So using /pt-br/ is fine, what really matter is letting Google know the language/location through search console and other measures what language/location the page are targeting. _
Correct, also, do look into meta tag called "hreflang":
https://moz.com/learn/seo/hreflang-tag
https://support.google.com/webmasters/answer/189077?hl=en
I'm not following what you mean in the last sentence: Unless you use some type of CMS, then you can just use RewriteRule or something to only display needed URL.
Most CMS systems have some type of functionality or plugins, which would let you create content in different languages within the same admin, so you wouldn't have to physically create all subfolders etc. So, whenever CMS does that, it would give you URL, but you might use htaccess rewriterule without redirect to make URL look like you want. Just google "rewrite rule without redirect" and you'll see what i'm talking about.
Hope this clarifies a bit
-
Hi Gianluca,
Thanks for your response. The main version of our site is actually English, that is the language that currently resides in the root.
-Brandon
-
I don't know of any "guide" by Google about how better design an international seo architecture.
However, of the two options you presented, the most common, correct and logic is the second one (domain.com/pt-br/), because the first is substantially burying the Brazilian Portuguese version of your site in the architecture.
Secondly, using the ISO schema "language-country" is also a good way to maintain the consistency in the site, also because those same pairs you will be using when implementing the hreflang annotations (and it is also a way to make understand what iso pairs your developers must use).
Thirdly, internet users recognize very well already what pt-br stands for
Finally, a note. If the brazilian portuguese is the main version of your site, why don't you create it directly in the root of your domain (domain.com directly in brazilian portuguese), when all the other versions will be in their dedicated subdirectories? This is the most common thing to do.
-
Sorry, didn't mean to refer to that link as a guide more of a reference.
So using /pt-br/ is fine, what really matter is letting Google know the language/location through search console and other measures what language/location the page are targeting.
I'm not following what you mean in the last sentence: Unless you use some type of CMS, then you can just use RewriteRule or something to only display needed URL.
-
Hi there.
The link you have provided is not a guide for subfolders structuring, it's simply a list of allowed/known language codes for internalization.
To answer your question - it wouldn't matter. It is more for your own ease of use and user friendliness. For example, since you'd have to have different content, you'd have to keep different versions of the website in different folders for ease of finding stuff. This is where different folders structures would come in handy. Unless you use some type of CMS, then you can just use RewriteRule or something to only display needed URL.
Hope this makes sense
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
-
Which would Google prefer In my case? Country Specific TLD or SubFolders?
I'm looking for some expert advice regarding multilingual SEO domain selection. I have a basic question that I'd love some help clarifying. I'd love to know what you do if you were in my position..From the research I've done so far, although there are other options, the two best suites ways of us separating 2 languages within our site is: **Country specific TLD's. (.com & .fr) ** SubDomain Folders (.com & .com/fr) Would google prefer the power of the country specific domains & the cleanliness of the separation (Option 1)? Or would it value more the link authority sent to one main domain with languages separated by subdomains (Option 2)? **Question background details:**I am developing a website in French & English. The main target markets language at present is French.In the future however I'm sure equal if not more website users will use the English language.1) Languages on two separate TLD's (Top level Domains) for each country (.fr & .com). We already own both domains We use WPML on wordpress so it's easy to update both languages. Languages in sub folder .com (en) .com/fr (fr) Through link building, all 'link juice' will be directed to .com (across french & English). We want all our customers to land on .com/fr if they are in French speaking country.
International SEO | | FullSteamBusiness2 -
If domain mapping subfolders to TLD's is it perceived as a fully separate entity/site therafter ?
Hi I take it once you have domain mapped a country specific subfolder to a country specific TLD (for better local region targeting reasons) Google perceives it as a completely separate entity and it no longer shares any of the parent sites domain benefits (such as domain authority etc) so from that point on requires its own dedicated link building etc ? All Best Dan
International SEO | | Dan-Lawrence0 -
International SEO Subfolders / user journey etc
Hi According to all the resources i can find on Moz and elsewhere re int seo, say in the context of having duplicate versions of US & UK site, its best to have subfolders i.e. domain.com/en-gb/ & domain.com/en-us/ however when it comes to the user journey and promoting web address seems a bit weird to say visit us at: domain.com/en-us/ !? And what happens if someone just enters in domain.com from the US or UK ? My client wants to use an IP sniffer but i've read thats bad practice and should employ above style country/language code instead, but i'm confused about both the user journey and experience in the case of multiple sub folders. Any advice much appreciated ? Cheers Dan
International SEO | | Dan-Lawrence0 -
.cn domain vs. .com/cn/ folder structure
Hey Moz Community, I'd love to hear your response based on some real world data around leveraging a .cn domain vs. porting the site over to a sub-folder structure (ie. com/cn/ structure). Currently, the site lives on a .cn and is fully translated/localized in simplified chinese - which is the ideal state. As part of a website redesign + cost analysis there is a discussion around moving all global content under a sub-folder structure using href lang, GWT combination to define country content. My question is around China specifically - does a .cn have a signficant impact on ranking? I've read conflicing reports. Secondly, how do Chinese users react to a non-.cn domain? I would imaging the click-through rate performance from SERPs is much lower. Thoughts? Comments?
International SEO | | JonClark150 -
URL Structure - Homepage, Country and State Pages
Hello, I am creating a website (or websites if best format) that will have state-specific boating license courses for every state in the US, Canada and Australia. I would like the content to be available on the website in English, French and Spanish. I want to be the global leader in providing boat test courses. For the (1) homepage, (2) country pages, and (3) state pages, what is best SEO format I should use for:
International SEO | | Monologix
(a) URL structure
(b) "href lang" code
(c) rel canonical code
(d) will meta content with non-English pages need to also be in the non-English language of that page? Also, what server company do you recommend I host my website with? I am a non-programmer and learning SEO, so any and all help will be greatly appreciated! Thank you very much in advance!!!0 -
Internationalization and 302 redirects
Hi, We're thinking in an internationalization process for a travel webpage. We'd like to use one domain (.com) in TV and press marketing and have several domains with each country ccTLD domain. We've shown that for example Tripadvisor makes a 302 redirect if you connect to tripadvisor.com and you are in another country. But we've detected aswell, that if you use the Browser Agent Google Bot, it didn't. It appears to be a cloaking, but really they're redirecting the users to the best places for them, and detecting Googlebot for not make the redirect, they ensures that it indexes well all the place. Booking.com makes something similar but with the same domain, detecting if you're Googlebot or not. Do you think that this is a danger thing if you're not as big as Tripadvisor? They makes this redirection by level server, could be safest to do with javascript? if we do with javascript, Google will take this path instead of read the page? Thanks!
International SEO | | robertorg0 -
Redirect the main site to keyword-rich subfolder / specific page for SEO
Hi,
International SEO | | Awaraman
I have two questions. Question 1: is it worthwhile to redirect the main site to keyword-rich subfolder / specific page for SEO? For example, my company's webpage is www.example.com. Would it make sense to redirect the main site to address www.example.com/service-one-in-certain-city ? I am asking this as I have learned that it is important for SEO to have keywords in the URL, and I was thinking that we could do this and include the most important keywords to the subfolder / specific URL. What are the pros and cons and how important is it to include keywords to folders and page URLs. Should I create folders or pages just the sake of keywords? Question 2: Most companies have their main URL shown as www.example.com when you access their domain. However, some multi-language sites show e.g. www.example.com/en or www.example.com/en/main when you type the domain to your web browser to access the site. I undertstand that this is a common practice to use subdomains or folders to separate the language versions. My question is regarding the subfolder. Is it better to have only the subfolder shown (www.example.com/en) or should you also include the specific page's URL after the subfolder with keywords (www.example.com/en/main or www.example.com/en/service-one-in-certain-city)? I don't really understand why some companies show only the subfolder of a specific language page and some the page's URL after the subfolder. Thanks in advance, Sam0 -
Best URL structure for Multinational/Multilingual websites
Hi I am wondering what the best URL format to use is when a website targets several countries, in several languages. (without owning the local domains, only a .com, and ideally to use sub-folders rather than sub-domains.) As an example, to target a hotel in Sweden (Google.se) are there any MUST-HAVE indicators in the URL to target the relevant countries? Such as hotelsite.com**/se/**hotel-name. Would this represent the language? Or is it the location of the product? To clarify a bit, I would like to target around 10 countries, with the product pages each having 2 languages (the local language + english). I'm considering using the following format: hotelsite.com/en/hotel-name (for english) and hotelsite.com/se/hotel-name (for swedish content of that same product) and then using rel=”alternate” hreflang=”se-SV” markup to target the /se/ page for Sweden (Google.se) and rel=”alternate” hreflang=”en” for UK? And to also geotarget those in Webmaster tools using those /se/ folders etc. Would this be sufficient? Or does there need to be an indicator of both the location, AND the language in the URLs? I mean would the URL's need to be hotelsite.com/se/hotel-name/se-SV (for swedish) or can it just be hotelsite.com/se/hotel-name? Any thoughts on best practice would be greatly appreciated.
International SEO | | pikka0