Sunday, August 7, 2011

302 & 404 redirects

What is 302 redirects?
302 redirects is a temporary redirect status which is also a web server function. As per the function, an URL is directed to a new one through the temporary 302 redirect. It is basically a way by which the HTTP redirects the client to a new location for a temporary period. For instance if a client is visiting site and the content have been moved to page b for the time being then this is 302 redirect. The move is not permanent and therefore for future purpose the user should go to page an only. The 302 redirect is performed directly by the browser and the user doesn't have to do anything. He can enter the original URL of the site on the address bar and the browser would take him to the temporary address on its own.
The move is temporary until the original URL is reestablished. This is why the user should keep checking the original webpage time and again to see if it has been reestablished. In this case the content would again be shifted to the original site and would no longer be available at the redirected site. Apart from 302 redirects, other kinds of URL redirects are also there and can be implemented by the different sites .


What is 404 Error?
Sometimes when you enter a URL in the address bar and try to open then you may have seen a message saying 404 Error or Not Found. This is an HTTP error message and is basically a standard response code from HTTP server. The message indicates that the URL request was sent to the server from the client but the server was unable to open it. The 404 error message is different from the Server not found error code. In the latter, the client's request is not sent to the server, and webpage is not loaded.
When you get a 404 error code then it may simply imply that the requested URL is not available temporarily. You may however try opening it again and may be able to open it. The error can appear if the client has mistyped the URL. If the message says ‘Not found' then the server may not have been able to find the URL but when it says Error 404 their may be an error from the user's end. Sometimes the HTML page may mention Error 404 and Not Found as well. In such case the possible reasons are mentioned so that you can check and search for the URL again.

Appartments for sale

No comments:

Post a Comment