How to remove error 404

How to remove error 404

Often found error on open spaces the Internet is 404 which means that the server cannot find the data relevant to the made request. It can be caused by lack of any file which was specified in request.

Instruction

1. The error code of HTTP 404 meets the Not Found specification. It means that the page is not found, it is moved or deleted.
This error by means of creation of the page which the server on the specified question, and directly cannot find the webmaster cleans up. For this purpose it is necessary to return the necessary file into place or to recreate the required page.

2. It is possible to correct URL. For this purpose it is necessary to correct the link to URL of the existing file. For this purpose it is necessary to find the page which issues the incorrect reference and to edit it by means of any text editor. Many hostings in the control panel provide own interface for editing. It allows to change the necessary file, without downloading it from the server.

3. If the wrong URL is generated automatically, then it can mean fault in work of a script. To correct it it is necessary to edit directly program. With this problem it is possible to contact the author of a script or to find a widespread solution at one of forums on a web programmingu.

4. If the file is really moved, then it is possible to create own page of an error which will more in details explain to the user the reason. It can be done by means of the control panel of a hosting if the hoster provides similar services. Enough the code will be to insert HTML into the corresponding form or to load an example of the page into the folder specified a hosting by provider.

5. Redirection about 404 pages can be stated by means of the corresponding HTML of the code or in the .htaccess file. In HTML there is a meta tag which on the expiration of a certain time sends the browser to the specified page. This code in the tag "" is located and has the following syntax:
«».

Author: «MirrorInfo» Dream Team


Print