Is a redirect based on a session cookie hurting rankings?
-
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.
-
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.
-
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.
-
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.
-
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,
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
I want to set different price type for India and USA through schema. for eaxmple website is abc.com & there is no cookie/country level redirection.
I am currently working on a website (Ed tech) that is doing business in India as well as USA. The courses are same. Content being served is also same. There is no cookie level redirection. The only difference is in the price range and price type. In schema we have set price type as $. We want to set different price type for India and USA through schema. How can we do this? For example given below website ranks for India & USA with the same domain name but prince range that we can setup either in INR or USA
Technical SEO | | DJ_James0 -
301 Redirects Showing As 307 Redirects
Hi, Our clients are adamant that they have set up 301 permanent redirects on their websites, but when we check using Screaming Frog and various online HTTP status code checkers they are showing as 307 temporary redirects. Examples;
Technical SEO | | Webpresence
http://www.lifestylelifts.co.uk/home-lifts/
http://www.terrylifts.co.uk/ Again, the client says they are seeing 301 redirects. Why are we seeing 307's? Who is right? Very puzzling, any theories would be very much appreciated 🙂 Thanks in advance. Lee.0 -
404 to 301 redirects is there a limit?
Hi We've just updated our website and have binned out alot of old thin content which has no value even if re written. We have a lot of 404 error on WMT and I am in the process of doing 301 redirects on them. Is there a limit to the number of 301 the site should have?
Technical SEO | | Cocoonfxmedia0 -
Do I need Redirects?
I've recently changed my old static website to a WordPress one. I'd like to know what do do (if anything) about my old links. For example a page on my old site was: www.iainmoran.com/corporate-magician.html - now I'm using WordPress, the url is:
Technical SEO | | iainmoran
www.iainmoran.com/corporate-magician/ My question is, do I need to set up redirects on these old pages (which no longer exist or will Google eventually re-crawl my site and update the links themselves? I'm using the Yoast SEO Plugin for WP and it creates a sitemap, which of course will have my new pages on. But don't want Google to penalise me for having broken links, etc. Many thanks, Iain.0 -
Why does my site rank so badly
its my turn to ask the interminable question why does my site rank so badly? site is: marriagerecords.org.uk. it was #1 for 'marriage records' on google for about 6 months. then it was 5th to 10th for about 2 months. now it is nowhere for this phrase and anything else, none of the pages I have written rank for anything. I have spent hours upon hours researching original content and I have got some great backlinks from sites like wrexham.gov.uk and somerset.gov.uk (some dont show in opensiteexplorer yet). im guessing im over-optimizing something but i'd love some concrete fixes if anyone could suggest any. thanks, tom
Technical SEO | | lethal0r0 -
301 Redirects Change?
Hi, Mozzers- I've noticed pages that are getting 301 redirected are staying out there longer. It used to be that you would implement a 301 redirect and then after a couple of months the old page would disappear out of Google's index. Over the last couple of months I've noticed pages lingering, popping up.... What gives? Thanks in advance! LHC
Technical SEO | | lhc670 -
Redirect and ranking
Wehave 2 websites for the same keyword Website 1 is indexed on place 2 but we do not like that name any longer it does not fit our long term marketing Website 2 is indexed on place 5 and this domain fits better What will happen if we redirect website 1 to website 2? Fall down to postion 5 Fall down to position 5 and after a certain period we get back at position 2 or 3 thanx in advance for your reply
Technical SEO | | turnon0 -
Base href
Does it matter for SEO if one uses a base href meta tag or if it is defined using java script?
Technical SEO | | cindyt-170380