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
      • Redirect entire website or not?
        Dalerio-Consulting
        Dalerio-Consulting
        1
        2
        76

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

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

      • If I redirect based on IP will Google still crawl my international sites if I implement Hreflang
        katemorris
        katemorris
        0
        2
        727

      • GeoIP and redirects
        edwardlewis
        edwardlewis
        0
        4
        3.5k

      • Redirecting users based on location
        underdogmike
        underdogmike
        0
        6
        9.5k

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

      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