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. Technical SEO Issues
    4. Is a redirect based on a session cookie hurting rankings?

    Is a redirect based on a session cookie hurting rankings?

    Technical SEO Issues
    5 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.
    • jfkorn
      jfkorn last edited by

      My clients business is divided in chain stores. All stores are set under the same franchise. There is one domain www.company.com with branches like www.company.com/location1/content and www.company.com/location2/content etc. I've taken care of duplicate content issues with rel="canonical" and duplicate page titles are also not a concern, anymore.

      Right now the concept is like this: If you visit the site for the first time you get to choose between the locations. Then a cookie is set and once you revisit www.company.com it will redirect you via a php header command to the location stored in your cookie: www.company.com/location1/content.

      My question is if this might hurt rankings in some kind of way as these aren't permanent redirects with a 301 but rather individual ones, based on your cookie.

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

        Are all pages being indexed?
        How do the rank relative to each other, is the home pahe ranking well?
        playing with redirects is temping fate i think,

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

          A few things to think about.

          If done right I don't think this will effect your rankings much, if at all. You're certainly not the only site that does this and although I've never done something similar with a php header redirect, georouting of visitors based on IP is something I do all the time (and could be something you might want to look into? - http://www.maxmind.com/)

          Your concerns here should be how is Google getting around your site? Is your homepage just a location select screen which it then has to crawl individually (a la paradisepoker[dot]com) or is there a default site they'll see and only later find a link to the location versions? If I (or specifically Google) don't accept cookies what can I see?

          People linking into your site will be splitting the value a bit, even if you use the canonical tag. What version of the site do you get links to and is that ranking better than the location variations? Would you be better not using the canonical tag but targeting links into each with location qualifiers to keywords?

          As I say, if it's done right I don't think you'll be hurting yourself, but would need to look into it a bit more to say for definite.

          1 Reply Last reply Reply Quote 3
          • saibose
            saibose last edited by

            You may want to see how your website cache for your homepage looks like on Google. Maybe its reading the wrong header everytime. My suggestion would be to check that 1st. If it shows fine, I dont think it will hurt your rankings as such. If you have rel=caononical in place correctly, you would be fine. It would be worthy to identify your pages where you want rankings and based on that, you could diagnose.

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

              Thank you for your answers. As far as I can see, everything is getting crawled, but I also submitted an XML sitemap via webmaster tools. I decided to disable the cookie redirect for a few weeks to see if there are any changes in ranking.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Redirect and ranking issue
                Eric.W.Caudle
                Eric.W.Caudle
                0
                4
                69

              • Redirect effecting ranking?
                ahyde
                ahyde
                0
                5
                108

              • I have an eCommerce store with a lot of 301 redirects. Would that hurt my rankings?
                Chris_CM
                Chris_CM
                0
                2
                122

              • Are these redirects damaging my rankings
                ClaireH-184886
                ClaireH-184886
                0
                7
                91

              • Enable cookies temporary redirect
                smarties954
                smarties954
                0
                2
                241

              • How does this rank? - a page that is 301 redirected
                Morris77
                Morris77
                0
                5
                279

              • 301 Redirect Have no ranking
                brightonseorob
                brightonseorob
                0
                2
                366

              • Redirect and ranking
                mattotoole
                mattotoole
                0
                4
                871

              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