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
-
Home Page and ranking
I have a problem and i have a question on that. Many important keywords and long tail keywords are ranking with the home page url.
Technical SEO | | mazzamz
How can i enrich the home page content without having a bad result and should i try to make the google spider send to more specific page?0 -
Regarding Redirect chain
**Old site urls:- **http://www.giftalove.com/birthday-gifts-5.html **New site urls:- **https://www.giftalove.com/birthday **Old site urls:- **http://rakhi.giftalove.com **New site urls:-**https://www.giftalove.com/rakhi My old site url redirect to new site url but show redirect chain issue. My site redirect A to B to C. Kindly find attached image and guide me what is the best way of redirection. Thanks & Regards Dilip Kumar boxgEpd
Technical SEO | | Packersmove0 -
I have a question about the impact of a root domain redirect on site-wide redirects and slugs.
I have a question about the impact (if any) of site-wide redirects for DNS/hosting change purposes. I am preparing to redirect the domain for a site I manage from https://siteImanage.com to https://www.siteImanage.com. Traffic to the site currently redirects in reverse, from https://www.siteImanage.com to https://siteImanage.com. Based on my research, I understand that making this change should not affect the site’s excellent SEO as long as my canonical tags are updated and a 301 redirect is in place. But I wanted to make sure there wasn’t a potential consequence of this switch I’m not considering. Because this redirect lives at the root of all the site’s slugs and existing redirects, will it technically produce a redirect chain or a redirect loop? If it does, is that problematic? Thanks for your input!
Technical SEO | | mollykathariner_ms0 -
How to rank for several keywords
Hi there Mozers, So far I have been building my webshop ouibonjour.com over the course of several weeks while studying the awesome educational content here on Moz and other SEO-related sites. I think I have done an OK job so far, and I have managed to rank #1 on several long tail keywords after a couple of weeks. Problem is - there are more long tail keywords I want to rank #1 for as well! **What I have done so far: ** I have taken the strongest keywords that can generate conversion and added them in page titles, title heads, main anvigation titles, in my alt text in images and so forth. The page is not screaming "SEO!" and I am happy with that. Nevertheless, I think the SEO measures here are done in an effective way. If you bothered to click on my page, you can see that the home page has only 5 posts (posts, not pages). They redirect visitors to other important parts of my site, and I change the image and/or the title once every 3 weeks to not keep the page too static. In a /magazine subfolder, I have a blog that ranks pretty good for several keywords, but the content here is not directly related to my products, but rather articles that fits the interests of my potential buyers (lifestyle, culture, etc). **What I need - but not sure how - to do: ** I basically want to rank for way more long tail keywords that relate to my products, but I don't want to continue setting up posts that have these keywords, because the content on the main page will be too heavy on the SEO, and therefore lose value for my visitors. How can I rank for more keywords without having to pepper my site with posts full of these keywords? I do not want to write articles on my blog that focuses on different combinations of long tail keywords neither, because it will get too spammy and make my visitors not return. I need help! I hope I have managed to explain my problem clearly. If there are any Whiteboard Fridays or posts on this subject that I have missed, please link me directly. If not, I would be tremendously happy and appreciative for any tips and tricks 🙂
Technical SEO | | Fernando_0 -
Ranking not improving
Our site is now 3 months old (although the domain is older) but rankings don't seem to be improving at all. We've got some good quality relevant links coming into the site, and the content is unique and often updated. Is there something holding the site back? Am I being impatient? the site is www.help-my-mobility.org Thanks.
Technical SEO | | jj34340 -
.htaccess redirects
I've done some research but can't find a good answer to this question. Here's my situation: Site redirects from example.com to www.example.com just fine. However, it doesn't work so well for internal pages. My site incorrectly redirects (non-www) example.com/page2 to www.example.com when it should instead go to www.example.com/page2 So I need a method to redirect non-www internal pages to www versions. Currently I have this in my .htaccess - do I need to modify the rules? RewriteEngine on
Technical SEO | | 3plains
RewriteCond %{HTTP_HOST} !^www.example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L] Thanks0 -
Rank tracker and Rankings report differs
Hi all Is this normal? I have set up a campaign for a site. Tracking a variety of keywords. For one of them, which is a quite important keyword I've been working on I've moved down one step in my rankings report. This is first of all weird because my on page optimization went from grade c to a, and even weirder beacuse if I run Rank Tracker tool on the keyword and the URL I see that I've moved up 6 steps, to 15 in Google. Kinda makes it hard to grasp if I'm on the right path or not! (I've checked and they are both results on google.dk, same URL and same keyword - exact)
Technical SEO | | Budskab0 -
Temporary Redirect Warnings
How big of an seo issue is this. I provide downloadable results for fitness events and after I pull the data I "redirect" it to a plain text file that is actually created on the fly. Is this a problem and, if so, is there a modification that I can implement to avoid having my site suffer for this? Thanks~
Technical SEO | | bobbabuoy0