Which redirect do I choose?
3xx status-codes are a bit of a mess. There’s a lot of confusion and
mis-use, so I thought it might help to sum all of them up in a single article.
Choosing the right redirect
Are you responding to a
POST request, and instead of returning a status
immediately, you want to redirect the user to a confirmation page?
303 See Other.
Did the resource move to a new path, or a new domain, and you want to make sure that any HTTP client repeats the exact same HTTP request on the new location?
Did the resource move, but you only care about
GET request? (perhaps because
this is a website).
Do you want to send the user somewhere else, but you’re not sure where because there’s more than one option, and you’d like the user to decide:
300 Multiple Choices.