The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • 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 Q&A Forum
    2. Categories
    3. Web Design
    4. Best practice for multilanguage website ( PHP feature based on Browser or Geolocalisation)

    Best practice for multilanguage website ( PHP feature based on Browser or Geolocalisation)

    Web Design
    6 4 2.8k
    • 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.
    • johncurlee
      johncurlee last edited by

      Hi Moz Experts

      I would like to know what does it the best practice for multilanguage website for the default language ?

      There are several PHP features to help users to get the right language when they come from SEO and direct; present the default language by browser language, by gelolocalisation, etc. However, which one is the most appropriate for Quebec company that try to get outside Canada ? PRO and CONS.

      Thank you in advance.

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

        Hi there

        Look into hreflang attributes - if you have the same site with multiple languages, this is a best practice.

        You can also look into setting up Webmaster Tool accounts for different sites (if they have different country codes or subdirectories) and geotarget those for the country they are supposed to appear to.

        Does this help? Let me know - good luck!

        johncurlee 1 Reply Last reply Reply Quote 1
        • DirkC
          DirkC last edited by

          Not sure if you could really call it a best practice - but in Belgium (3 different languages) the normal configuration is not to determine the default language automatically but rather to present a first time visitor a "choose language" page and store the choice in a cookie for future visits. This is mainly for direct visits.

          People coming in via search engines use queries in one of the languages, so normally Google will direct them to pages in that language. Again, on first time visit, the implicit choice of language is stored in a cookie.

          All pages contain a link to switch to the other language(s) - which also changes the choice stored in the cookie.

          Disadvantage of this system is that you add an additional layer to the site (choice of language) - advantage is that error margin is zero.

          Systems which are based ip, browser language, ...etc are not 100% reliable - which could lead to unwanted results (in Belgium quite a sensitive issue if you server a Dutch page to a French speaking person - idem for French & Dutch speaking).

          Hope this helps,

          Dirk

          1 Reply Last reply Reply Quote 2
          • katemorris
            katemorris last edited by

            I built a tool to help people understand how to best go about international expansion. It's here: katemorris.com/issg

            johncurlee 1 Reply Last reply Reply Quote 1
            • johncurlee
              johncurlee @PatrickDelehanty last edited by

              Thank you. So, I will need to add the hreflang for the first strategy.

              For the Webmastertool, I'm not so sure, because we didn't have subdirectories. We have www.mycompany.com and www.mycompany.com/fr. So, actually, I have webmastertool for www.mycompany.com. However, we have a Google plus page, but we didn't have a Content marketing strategy.

              that's all we have for the moment in place? 🙂

              1 Reply Last reply Reply Quote 0
              • johncurlee
                johncurlee @katemorris last edited by

                I love it Kate Moriss. 🙂 it make it simple with the small questions. 😛

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Best Practices-Optimize Theme Before Coding or After Coding?
                  TucsonAZWebDesign
                  TucsonAZWebDesign
                  0
                  2
                  272

                • What is the best way to handle annual events on a website?
                  Brando16
                  Brando16
                  1
                  5
                  105

                • Have an eBook. What is best practice for SEO?
                  LauraFalls
                  LauraFalls
                  0
                  3
                  1.3k

                • Best practices for ecommerce product categories?
                  peekpeeka
                  peekpeeka
                  0
                  5
                  816

                • Best Practice For Website Redesign & Migration
                  Mark_Ch
                  Mark_Ch
                  0
                  10
                  1.9k

                • Any advice for best practice for mobile versions of websites?
                  SEM-Freak
                  SEM-Freak
                  1
                  5
                  265

                • What is Best Platform to Build Website - SEO in mind
                  robertdonnell
                  robertdonnell
                  0
                  16
                  16.5k

                • Where is the best place to put reciprocal links on our website?
                  MattJanaway
                  MattJanaway
                  0
                  9
                  3.6k

                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