301, 302, 307, 308: Which redirect is the chosen one?

What is the actual difference between a 301 and a 302 redirect and does it affect canonicalization? What on earth are 307 and 308 redirects, and what do they have to do with a chicken’s luggage?! ??Wait… chicken has a luggage?

Welcome back to The Non-Canonical Cabinet, the series where Google Search Developer Advocates Gary Illyes and Cherry Prommawin dig through the dilapidated cabinet to answer the weirdest, most hyper-specific edge cases of technical SEO.

In this episode, they explain how each redirect status code affects search deduplication, clustering, and the canonicalization process (with a family of chicken watching):
?? 301 vs. 302: What is the difference?
? Duplication Clustering vs. Canonicalization: What does that have to do with all this?
? 307 & 308 redirects: Do they matter? And what does chicken’s luggage have to do with it?
? JavaScript & meta refresh redirects: Is Gary just hating it for no reason?

? Timestamps:
00:00 – Welcome to The Non-Canonical Cabinet (Chicken is moving)
00:44 – Relax: Choosing the wrong redirect is not the end of the world
01:02 – 301 vs. 302: Permanent moves vs. vacation mode
02:05 – How Google processes deduplication, clustering, and canonicalization
03:32 – How 301 and 302 affect canonical selection
04:33 – Understanding 307 and 308 redirects
05:12 – POST form data, checkout payloads (and chicken’s luggage)
06:55 – Using client-side JavaScript and meta refresh redirects
07:56 – Recap
09:08 – Hidden chicken cam

? Learn more:
Redirects and Google Search: https://goo.gle/30x-redirects
What is URL Canonicalization: https://developers.google.com/search/docs/crawling-indexing/canonicalization
HTTP Status Codes in Google Search: https://developers.google.com/crawling/docs/troubleshooting/http-status-codes
RFC 9110 Redirection Spec: https://httpwg.org/specs/rfc9110.html#rfc.section.15.4

?? Have a weird redirect story to share? Got an edge case for us to look at? Ask us in the comments and we might pull it from the cabinet in a future episode!

? Next episode: A fiery Season 1 Finale on CDNs! Moved to a CDN: Why is everything crawling everywhere all at once?

#GoogleSearch #TechnicalSEO #WebDevelopment #NonCanonical #SEO #SearchCentral #Redirects #Canonicalization

Credit to : Google Search Central

Please support our Sponsors -