HTTP 3xx Codes - HTTP 3xx Redirection Codes

HTTP 3xx Codes or HTTP 3xx Redirection Codes represent redirection messages, these codes indicate that the client must follow certain steps to get to the desired location or destination.

There are nine main types of HTTP 3xx Codes, these nine types are listed below.

300 Multiple Choices

The 300 Multiple Choices means that the user can select a link from the list of resources, returned by the server. Client may follow any of them to go to that location.

301 Moved Permanently

The 301 Moved Permanently means that the requested page has been permanently moved to the new URL. This is best way to redirect the users to the new page.

302 Found

The 302 Found means that the requested page is moved temporarily to the new URL. Unlike permanent redirection, it is temporary redirection.

303 See Other

The 303 See Other means that the requested page can be found in other location. The Get method is used to provide the link of new location.

304 Not Modified

The 304 Not Modified means that the requested page is still the same and it has not been modified since last request.

305 Use Proxy

The 306 Use Proxy means that the requested page is only available through a proxy.

306 Switch Proxy

The 306 Switch Proxy means that the client should switch to a new proxy. This code is not used anymore.

307 Temporary Redirect

The 307 Temporary Redirect means that the requested page is moved temporarily to the new location. It is different from 302 in a way that the request method is not changed in 307, when the original request is reissued.

308 Permanent Redirect

The 308 Permanent Redirect means that the requested page has been permanently moved to the new URL. However in 308 the request method is not changed.