6 ms·
Don't get clever and use these wacky non standard status codes like 307 308 303 your at the mercy of Google as to how they will treat them. 99.9% of the time u
by spacecowboy_lon 11y ago
Don't get clever and use these wacky non standard status codes like 307 308 303 your at the mercy of Google as to how they will treat them.
99.9% of the time use a 301 redirect.
- BillinghamJ 11y agoThey're not non-standard, and any unrecognized 3xx codes are treated as 300.
- spacecowboy_lon 11y agoAnd you know exactly how google, bing et al handle this situation.
- voltagex_ 11y agoIsn't 301 a permanent redirect (and will be cached as such) and 302 is temporary?
- andreineculau 11y agoYes and no. 302 allow the user-agent to change the HTTP method to GET. 307 is the temporary redirect, equivalent to the permanent 301. https://github.com/for-GET/know-your-http-well/blob/master/status-codes.md#3xx https://github.com/for-GET/know-your-http-well/blob/master/s...
- spacecowboy_lon 11y agoerr No a temporary redirect is not the same as a permmenat one