m |
m |
||
Line 1: | Line 1: | ||
− | While searching the net or creating your own site you may get some error pages, like 404 Not Found error or 500 Internal Server error. | + | <seo title="Error codes" metakeywords="401 Unauthorized error,403 Forbidden error,404 Not Found error,500 Internal server error" metadescription="Error codes" /> |
+ | |||
+ | <div align=justify>While searching the net or creating your own site you may get some error pages, like 404 Not Found error or 500 Internal Server error. | ||
In this article we'll explain the reasons for these error pages and some possible fixes. | In this article we'll explain the reasons for these error pages and some possible fixes. | ||
Line 11: | Line 13: | ||
This is the error that states you are forbidden to access this particular page. This may be caused by the wrong file permissions set. | This is the error that states you are forbidden to access this particular page. This may be caused by the wrong file permissions set. | ||
− | Go to your cPanel => File Manager and check whether files have their permissions set to 644 and folders - to 755. | + | Go to your '''''cPanel => File Manager''''' and check whether files have their permissions set to 644 and folders - to 755. |
Alternatively your IP address has been blocked from accessing the site by the site owner. In this case you need to contact him for further actions. | Alternatively your IP address has been blocked from accessing the site by the site owner. In this case you need to contact him for further actions. | ||
Line 17: | Line 19: | ||
The 404 Not Found error says for itself. It appears when you are trying to access some file or page that is not yet uploaded or has been already removed. | The 404 Not Found error says for itself. It appears when you are trying to access some file or page that is not yet uploaded or has been already removed. | ||
− | To correct 404 error you need to check the exact URL and the filename. These should coincide. Also keep in mind that filenames are case-sensitive, so index.html and Index.html are different files. | + | To correct 404 error you need to check the exact URL and the filename. These should coincide. Also keep in mind that filenames are case-sensitive, so ''index.html'' and ''Index.html'' are different files. |
=='''500 Internal server error'''== | =='''500 Internal server error'''== | ||
− | Internal server error may be caused by the wrong file permissions or by some rule added to your .htaccess file. | + | Internal server error may be caused by the wrong file permissions or by some rule added to your ''.htaccess'' file. |
− | The basic fix for the Internal server error is to correct the file permissions or create a new .htaccess file in order to see whether this is the cause of 500 error. | + | The basic fix for the Internal server error is to correct the file permissions or create a new ''.htaccess'' file in order to see whether this is the cause of 500 error.</div> |