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. JavaScript IP-based redirection, best approach?

    JavaScript IP-based redirection, best approach?

    International Issues
    1 1 443
    • 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.
    • AxialDev
      AxialDev last edited by

      Hi everyone,

      What are the best practices for implementing Javascript redirections like on http://www.nike.com/ to send visitors to the right country section? I see it uses cookies and sessions to store the country and language, but what about search engines? Are they redirected via JS? Are there any risks that Google can't crawl everything?

      We had IP-based, server-side redirections on a few country-specific websites (purehazelwood.com, purnoisetier.fr, purnoisetier.com) that we had to remove because googlebot was always redirected to the US site and couldn't access the other sites. We instead added pop-ups if the visitor is accessing the "wrong" site but we'd like the redirection to be automatic.

      Is the javascript approach the best? Anything else we need to think about?

      Thanks for your time!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      • Is this approach of returning different content depending on IP beneficial for international SEO?
        Mobilio
        Mobilio
        0
        2
        45

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

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

      • Best local business directories for a digital agency based in London
        PremioOscar
        PremioOscar
        0
        2
        334

      • What is the best way to make country specific IP redirect for only product pricng pages?
        RyanSat
        RyanSat
        0
        6
        1.9k

      • English Translation and Redirect
        IM_Learner
        IM_Learner
        0
        2
        679

      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