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. International Issues
    4. Redirecting users based on location

    Redirecting users based on location

    International Issues
    6 6 9.5k
    • 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.
    • theLotter
      theLotter last edited by

      My site is available in EN, DE, SW, SP, FR, IT, CH and JP.

      However, the EN sites ranks much better than the other languages, and even when searching in another language the EN homepage is normally the result that appears.

      Would it be worthwhile to automatically redirect users to the site in the same language they are searching in or country they are searching from? If so, how do I go about this?

      Thanks!

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

        I think the only option would be to either have separate sites / urls or - redirect user to the relevant version of the site when they first land on your site, by checking their geo location. Now, if you're using one site and redirect, then I'm presuming you're still using the same urls - it's just the content that changes accordingly based on the location.

        It looks like international versions of Google services are hosted in specific countries as their IP address changes - try for instance google.ru, google.pl etc. and you'll see using the SEOMoz toolbar that the IP is different, but I'm not quite sure if crawlers are only coming from the main server or not. Perhaps someone else could answer this.

        You can do redirection using two methods : Javascript or Server side technology. Depending on what server technology you're using there are several classes / scripts available out there. Here's an example of one for PHP : http://www.geoplugin.com/webservices/php

        The HTML5 has a built in Geolocation API, which you can read more and see some examples of here :  http://merged.ca/iphone/html5-geolocation

        With HTML5 Geolocation you will always be first asked if you want to allow the site to use your location - this is something you cannot get rid of.

        I hope this helps a bit.

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

          Hi SaraSEO,

          I don't think redirecting visitors based upon country is wise because of the following reasons:

          • The Search Engine crawlers are not neccissarily located in the country they crawl for and might not be able to crawl all languages.
          • Redirecting Users but not Crawlers could be considerd cloaking
          • There might be German speaking people in sweden getting very annoyed not being able to see the german version. - Google explicitly advises not to do this:

          "Make sure each language version is easily discoverable

          Keep the content for each language on separate URLs. Don’t use cookies to show translated versions of the page. Consider cross-linking each language version of a page. That way, a French user who lands on the German version of your page can get to the right language version with a single click.

          Avoid automatic redirection based on the user’s perceived language. These redirections could prevent users (and search engines) from viewing all the versions of your site."

          source: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=182192&topic=2370587&ctx=topic

          Greets,

          Sven

          1 Reply Last reply Reply Quote 1
          • nbyloff
            nbyloff last edited by

            I haven't redirected users by country, but I am doing it by US state for certain services on a site.

            1. When a user visits the page from a state we offer the service in, they are 302 redirected to the state specific page

            2. When a crawler visits the page, they are NOT redirected anywhere

            3. On that same page, we have links pointing to the state specific page so they can be discovered by the crawler

            underdogmike 1 Reply Last reply Reply Quote 0
            • Hannah_Smith
              Hannah_Smith last edited by

              Hi Sara,

              The GEO-IP redirect isn't an approach I favour.

              As Google normally crawl from a US IP it can cause indexation problems.

              As such I prefer something like cheapflights.com implement - if you visit cheapflights.com from a UK IP you are pushed to this international choice page - http://www.cheapflights.com/workers/profile-select.aspx?sref=CFUK&redirect=GeoIP&geoip=GB&cfref=CFUS&spt=Home&rp=/

              This allows user to select the appropriate site (nicer for users) and allows both versions to be crawled.

              My recommendation would be to implement something like that rather than a hard redirect to a specific language version.

              I hope this helps,

              Hannah

              1 Reply Last reply Reply Quote 0
              • underdogmike
                underdogmike @nbyloff last edited by

                Thanks for your response!
                May I ask how you achieved this? I have a client that wants to show different content based on US State Location.

                Thanks

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Redirect entire website or not?
                  Dalerio-Consulting
                  Dalerio-Consulting
                  1
                  2
                  76

                • Currency versus location
                  0
                  1
                  50

                • Change Lang. IP base, Browser Base or Manually?
                  BlueprintMarketing
                  BlueprintMarketing
                  0
                  5
                  170

                • 301 Redirect
                  Shop-Sq
                  Shop-Sq
                  0
                  4
                  173

                • 302 Redirect based on Language Detection
                  CleverPhD
                  CleverPhD
                  0
                  3
                  3.3k

                • Dynamic Google search snippet text based on user's language
                  MatthewBarby
                  MatthewBarby
                  0
                  2
                  205

                • GeoIP and redirects
                  edwardlewis
                  edwardlewis
                  0
                  4
                  3.5k

                • Location Specific Reporting
                  sgraceware
                  sgraceware
                  1
                  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