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. SEO and Digital Marketing Forum
    2. Categories
    3. SEO Tactics
    4. International SEO
    5. 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
    8 3 1.4k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Brando16
      Brando16 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 @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 @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 @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 @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


                    Explore more categories

                    • Moz Tools

                      Chat with the community about the Moz tools.

                      Getting Started
                      Moz Pro
                      Moz Local
                      Moz Bar
                      API
                      What's New

                    • SEO Tactics

                      Discuss the SEO process with fellow marketers

                      Content Development
                      Competitive Research
                      Keyword Research
                      Link Building
                      On-Page Optimization
                      Technical SEO
                      Reporting & Analytics
                      Intermediate & Advanced SEO
                      Image & Video Optimization
                      International SEO
                      Local SEO

                    • Community

                      Discuss industry events, jobs, and news!

                      Moz Blog
                      Moz News
                      Industry News
                      Jobs and Opportunities
                      SEO Learn Center
                      Whiteboard Friday

                    • Digital Marketing

                      Chat about tactics outside of SEO

                      Affiliate Marketing
                      Branding
                      Conversion Rate Optimization
                      Web Design
                      Paid Search Marketing
                      Social Media

                    • Research & Trends

                      Dive into research and trends in the search industry.

                      SERP Trends
                      Search Behavior
                      Algorithm Updates
                      White Hat / Black Hat SEO
                      Other SEO Tools

                    • Support

                      Connect on product support and feature requests.

                      Product Support
                      Feature Requests
                      Participate in User Research

                    • See all categories

                    • Schema for languages Subfolders
                      MTBE
                      MTBE
                      0
                      3
                      878

                    • Internationalization and 302 redirects
                      robertorg
                      robertorg
                      0
                      5
                      1.1k

                    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
                    • Digital Marketers
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation 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 - 2026 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.