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. Intermediate & Advanced SEO
    4. Serving different content based on IP location

    Serving different content based on IP location

    Intermediate & Advanced SEO
    3 3 1.9k
    • 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.
    • ChatterBlock
      ChatterBlock last edited by

      I have city centric website.  For sake of simplicity, say I only have 2 cities -- City A and City B.

      Depending on a user's IP address, they will either get City A or City B.  Users can change their location through javascript on pages.  But there is no cross-linking between cities.  By this, I mean that unless you can read or execute javascript, there is no way for you to get from city A to City B.

      My concern is this:  googlebot comes to my site, and we serve them up City A.  How does City B get discovered if Googlebot doesn't read javascript?

      We have an xml sitemap plus plenty of backlinks to City B.  Is this sufficient?

      Should I provide a static link to City B (and vice versa) on the homepage for crawling purposes?

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

        I do the exact same thing (local business pages based on visitor IP) but you can change your location based on what search terms you enter.

        What we also do is allow anyone to browse any state/city results through our faceted search and we have XML sitemap entries for each state/category landing page which will then link down to city level searches.

        We have seen no problem with google indexing our site (currently almost 500,000 pages indexed.)

        As long as you don't actively hide content that doesn't pertain to the requesting site IP and you provide some way for Google to find it, you should be OK.

        1 Reply Last reply Reply Quote 1
        • Dr-Pete
          Dr-Pete last edited by

          Adding to Daniel's comment, I'd say the big difference "...through our faceted search." It's important to have both the XML entries and a crawl path. An XML sitemap may be enough to get the pages indexed, but they won't inherit any internal link-juice. That comes through your internal links. Somewhere, there needs to be a link that Google can crawl to the other cities.

          The direct back-links will help, and should get you indexed and possibly ranking, but you're still losing the authority from the domain as a whole that you'd inherit via internal links. The upshot is that you'll lose ranking power.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Different content on different mobile browsers
            Matthew_Edgar
            Matthew_Edgar
            0
            2
            76

          • Is it OK to dynamically serve different content to paid and non-paid traffic from the same URL?
            Alick300
            Alick300
            0
            4
            199

          • Use multiple sites with same content but different sets of keywords in url and slightly different keyword lists?
            Nanook1
            Nanook1
            0
            5
            860

          • Why would our server return a 301 status code when Googlebot visits from one IP, but a 200 from a different IP?
            danatanseo
            danatanseo
            0
            16
            1.4k

          • Using IP to deliver different sidebar content on homepage
            OlegKorneitchouk
            OlegKorneitchouk
            0
            4
            145

          • Need help with duplicate content. Same content; different locations.
            sergio_redondo
            sergio_redondo
            0
            2
            339

          • Mobile Site - Same Content, Same subdomain, Different URL - Duplicate Content?
            Carson-Ward
            Carson-Ward
            0
            6
            1.5k

          • SEO issues with IP based content delivery
            MarketingOfAmerica
            MarketingOfAmerica
            2
            17
            12.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