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
-
Redirection chain and Javascript Redirect
Hi, A redirection chain is usually defined as a page redirecting to another page which itself is another redirection. URL1 ---(301/302)---> URL2 ---(301/302)---> URL3 But what about Javascript redirect? They seem to be a different beast: URL1 ---(301/302)---> URL2 ---(200 then Javascript redirect)---> URL3 From what I know if the javascript redirect is instant Google counts it as a 301 permanent redirection, but I'm still not sure about if this counts as a redirection chain. Most of the tools (such as moz) only see the first redirection. So is that scenario a redirection chain or no?
Technical SEO | | LouisPortier0 -
301 Redirect Question
I am working with a website and I ran a Screaming Frog and noticed there are 4,600 301's on the website (www.srishoes.com). It seems like the issue is between the www. and without it and they aren't working together. Is this something that the website provider should update and what type of impact might this have on the site? Thanks!
Technical SEO | | ReunionMarketing
Matt0 -
IT's Hurt My Rank?HELP!!!
hi,guys,john here, i just began use the MOZ service several days ago, recently i noticed one thing that one keyword on the first google search result page, but when i done some external links,the rank down from 1 to 8, i think may be the bad quality external links caused the rank down. so my question,should i delete the bad quality links or build more better quality links? which is better for me. easy to delete the bad links and hard to build high quality links. so what's your better opinion,guys? thanks John
Technical SEO | | smokstore0 -
How would you research on what keywords to rank?
Do you guys mind sharing your steps on what you do on your research? Semrush does not have my countries google so Sadly i have to skip that. I been using open site explore to check out on my competitors to see what they are ranking. Any more suggestions?
Technical SEO | | andrewwatson921 -
Large amounts of ranking data
Hello all, I am currently conducting some keyword. I need to check a websites rankings for around 1000 keywords. I currently use chrome on a Mac. This presents a problem, because all of the APIs I've seen are for excel on windows. Does anyone have any ideas of how to do this on a Mac & Chrome? Thanks, Chris
Technical SEO | | chris.kent0 -
301 redirect on wordpress.com
Hi, How/where do I input a 301 redirect for my http site within wordpress.com. I am already redirecting my wordpress url to myy new non wordpress domain Thanks Lisa
Technical SEO | | lisamarieCunn0 -
Will rankings for my micro site rank better if I 301 redirect it to my main site?
This is my first time asking so I will try to be as clear as possible. Ok, I have a micro site that is an (exact match domain) and the domain is a couple 3-4 years old and ranks very well for several search terms. The main two terms it ranks for are like this. houses for rent in XXXXX XXXXX homes for rent (XXXXX equals a city name) The issue is this site has no backlinks, zero advanced SEO, I only did basic optimization to it when i set the site up. Even site structure, url structure all are not good.
Technical SEO | | Robbie8299
The only page I have ever even seen rank is the main root url. But with all that the site does really good in the top 1-2 results for key search terms. Now, I have a main site that is a very big site that has steadily been climbing in search terms every month with great backlinks, optimized for the city and all.
It currently ranks on second page for the listed search terms listed above. What I want to do is 301 redirect this microsite to my city page on my main site that is much better optimized for the key city terms.
The 301 redirect would point this "root domain" (mymicrosite.com) to my city page that looks like this. www.mymaindomain.com/city/XXXXXXX If I do this will Google rank my main URL city page as well as it ranks this microsite with zero links, seo, etc, etc. What happens if it does not? Will I be able to turn off the 301 redirect and keep the microsite rankings? My main reason for wanting this is I want this city page to rank well and I only want to optimize one site instead of both. Any help would be great!0 -
Is this a safe 301 redirect?
We are moving our site from one platform to another. Currently on our site we have two homepages. "www.homepage.com" and "www.homepage.com/Index" Both pages have some high quality links pointing in on them. The problem: We are going to be doing a 301 redirect from "www.homepage.com/Index" page to "www.homepage.com" as we are moving platforms at this time we weren't going to create a "www.homepage.com/Index" page all. This leaves this page as an empty URL. With this webpage disappearing all together will we lose traction as we are redirecting an empty URL? Or is it better to recreate this "www.homepage.com/Index" on our new platform redirect it and wait for google to deIndex this page for us? As well is there a tutorial for how to implement 301 redirects or is this something worth looking for a developer and pay someone to do?
Technical SEO | | HCGDiet0