What is the SEO impact of multiple redirects that return to the current page after setting a cookie?
We have a situation where we need to set a cookie on a user's session. In order to do this we currently have a series of redirects in place:
Initial request > 30x to get the cookie > 30xset the cookie > 30x to return the user to the original page requested.
These are all browser redirects and happen quickly enough, and only on the first "hit" so the user experience isn't negatively impacted. However I think there may be some concerns about the SEO ramifications of this process.
- For this purpose does a
301redirect make the most sense (vs a302)? - Will having three consecutive redirects be detrimental to page rank?
- Are there any best practices / hands on experience people have with this type of chained-redirect?
If you can figure out how to do this setup without the redirects, that would definitely be better.
Keep in mind that you probably also have a redirect from http to https, so that's a total of up to 4 redirects to get the user where they want to go. If the user has high latency, that could be as long as several seconds before your page even begins to load.
As far as SEO, as long as your redirects still work without cookies then googlebot will follow them just like a web browser. However, Google factors page performance in to their rankings, so it stands to reason that a redirect setup that reduces performance could also ding a page's rank.
Are there any best practices / hands on experience people have with this type of chained-redirect?
It is possible (in fact quite likely) that this chained-redirect setup is a design standard that I haven't worked with or heard about. However, I personally would tend to strive for zero redirects on my pages as long as the request URL is correct.
You would want to keep to a minimum:
how long it takes for the page to load.
how many pages that is redirected through to get to the final page.
how many clicks away from the homepage the user must go through to get to the final page.
These all knock your SEO score down if there are more than 5 seconds of load, and 3 redirects or clicks through to the end page.
A term you will want to search for more information 'Page Crawl Depth more than 3 clicks'.
Comments
Post a Comment