Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. International SEO
    4. Internationalization guides for subfolder structure

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Internationalization guides for subfolder structure

    International SEO
    3
    8
    1158
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Brando16
      Brando16 Subscriber last edited by

      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:

      www.example.com/br/pt/

      or

      www.example.com/pt-br/

      I did find the guide below but was wondering if there was perhaps anything from Google?

      http://www.lingoes.net/en/translator/langcode.htm

      1 Reply Last reply Reply Quote 0
      • Brando16
        Brando16 Subscriber @gfiorelli1 last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • Brando16
          Brando16 Subscriber @DmitriiK last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • DmitriiK
            DmitriiK @Brando16 last edited by

            _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 🙂

            Brando16 1 Reply Last reply Reply Quote 1
            • Brando16
              Brando16 Subscriber @gfiorelli1 last edited by

              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

              1 Reply Last reply Reply Quote 0
              • gfiorelli1
                gfiorelli1 last edited by

                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.

                Brando16 2 Replies Last reply Reply Quote 2
                • Brando16
                  Brando16 Subscriber @DmitriiK last edited by

                  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.

                  DmitriiK 1 Reply Last reply Reply Quote 0
                  • DmitriiK
                    DmitriiK last edited by

                    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 🙂

                    Brando16 1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    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.

                    • See all categories

                    Related Questions

                    • MedicalSEOMarketing

                      CcTLD vs subfolder for international SEO

                      In what situations is subfolder better than ccTLD, and vice versa.

                      International SEO | | MedicalSEOMarketing
                      1
                    • MTBE

                      Schema for languages Subfolders

                      I'm using static Schema for each language subfolder in my website, Should i use the same "URL, description" for every language? or i have to use the URL and description according to the language? I'm using that schema for english should i change URL and description in the other languages? for example

                      International SEO | | MTBE
                      0
                    • Dan-Lawrence

                      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-Lawrence
                      0
                    • Monologix

                      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:
                      (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!!!

                      International SEO | | Monologix
                      0
                    • robertorg

                      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 | | robertorg
                      0
                    • Awaraman

                      Redirect the main site to keyword-rich subfolder / specific page for SEO

                      Hi, 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 (301) 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 of this? 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 understand that this is a common practice to use subdomains or folders to separate different language versions. My question is regarding subfolders. Is it better to have only the subfolder shown (www.example.com/en) or should I 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, Sam

                      International SEO | | Awaraman
                      1
                    • SOS_Children

                      Subdomains or subfolders for language specific sites?

                      We're launching an .org.hk site with English and Traditional Chinese variants. As the local population speaks both languages we would prefer not to have separate domains and are deciding between subdomains and subfolders. We're aware of the reasons behind generally preferring folders, but many people, including moz.com, suggest preferring subfolders to subdomains with the notable exception of language-specific sites. Does this mean subdomains should be preferred for language specific sites, or just that they are okay? I can't find any rationale to this other than administrative simplification (e.g. easier to set up different analytics / hosting), which in our case is not an issue. Can anyone point me in the right direction?

                      International SEO | | SOS_Children
                      0
                    • pikka

                      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 | | pikka
                      0

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.