What is the SEO impact of multiple redirects that return to the current page after setting a cookie?

What is the SEO impact of multiple redirects that return to the current page after setting a cookie? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the What is the SEO impact of multiple redirects that return to the current page after setting a cookie? error on your web browser. Problem :


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 301 redirect make the most sense (vs a 302)?

  • 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?


Solution :

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'.


We hope that this article has helped you resolve the seo, redirects, cookie error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=