What is the Not Found Error 404?

in doyouknow •  7 years ago 

The HTTP 404 Not Found Error means that** the webpage you were trying to reach could not be found on the server.** It is a** Client-side Error which means that either the page has been removed or moved and the URL was not changed accordingly, or that you typed in the URL incorrectly. Put simply, a 404 Not Found Error means that the webpage simply does not exist with the URL entered.**

The HTTP 404, 404 Not Found and 404 (pronounced "four oh four") error message is a Hypertext Transfer Protocol (HTTP) standard response code, in computer network communications, to indicate that the client was able to communicate with a given server, but the server could not find what was requested.

Simple Steps to Solve

There are some simple tips you can try to solve this problem from your end. We will go over some advanced troubleshooting tips later. In any case, you should try these tips first because many times, the 404 Not Found Error can be solved rather quickly.

Refresh page

The first thing you should do is simply refresh. You can press Ctrl+F5 to force a refresh on the page. The error may appear just because the page wouldn’t load.

Clear browser’s cache and cookies

If you are able to visit the page from another device, such as your phone, clearing the cache and cookies will usually solve the problem.

Check the URL

Make sure that the URL inputted correctly. This includes spelling of the URL, correct slashes, file extension of the page and so forth.

Scan for Malware

There are some malware files that will force a 404 Error on websites. It’s imperative to make sure your computer is clean and not compromised.

Contact the Webmaster

Go ahead and send a message to the webmaster and let them know of the 404 error. If you are the website owner then contact your hosting provider for more information. If the server is encountering problems, it may return 404 errors.

Advanced Troubleshooting

  • **Deleted Pages - **If you have deleted pages on your store, be aware that Search Engines may have already crawled and indexed the page. It can take some time (up to a month) for search engines to recognize that the page has been deleted. Your customers also may have bookmarked the page as well. It is a good idea to redirect your deleted products to a different page, like your homepage.
  • Permissions - If you are getting a 404 Not Found Error along with a sentence that reads “You don’t have permission to access…” Then it’s almost certainly a permissions problem. You should tweak your CHMOD permissions via FTP, or call your hosting provider to have this changed. Usually, a good permission set would be 755 for directories and 644 for files. However, permissions vary by host, so be sure to check with them first.
  • **Memory Limit - **You might receive a 404 Not Found error as a page that shows up because of a memory_limit issue with your host. Although the two are not directly related, it’s important to learn how to turn on Error Reporting. Turn Error reporting on and then reload the page with the 404 error, if you see an error that starts with “Fatal error: Out of memory” . Then contact your host to increase your memory limit.
  • .htaccess Problems - The .htaccess is a configuration file used by Apache web-servers on your root folder that can, among other things, control redirects, protect folders, and change aspects of your URL’s. Many times you can solve 404 issues by regenerating this file. You can delete the .htaccess file manually through your FTP and regenerate it by heading over to your Back-Office/Advance Parameters/Performance. Sometimes, simply toggling the option for Friendly URL can do the trick by forcing the regeneration of the .htaccess file.
  • SSL Certificate Incorrectly Configured - If you can receive a 404 Not Found error after your install your SSL certificate then your SSL Certificate is not set up correctly. Double check with your hosting provider to make sure that your SSL URL is pointing and connecting with the correct PrestaShop URL within the .htaccess file. In PrestaShop 1.5.6 + you have the option to Force SSL on all pages; in that case, you need to confirm that any page with content located within an iframe is called in https.
  • mod_rewrite is disabled - mod_rewrite is an apache module that allows you to customize your URL’s (That is what Friendly URL is). If you receive a 404 error when you turn on Friendly URL, chances are you do not have mod_rewrite enabled on your server. If your Friendly URL is working but in your Back-Office/Advance Parameters/Performance you see a warning that says “No URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration.” Then the problem is not due to mod_rewrite. Some hosting servers have security features that do not allow PrestaShop to check your server configuration. If Friendly URL works, then mod_rewrite is installed correctly.
  • Incorrect Custom URL Route **- **If you received the 404 error after you created a Custom URL route for your pages in your Back Office/Preferences/SEO & URLs , (Must have Friendly URL active and enabled). There is a strong chance that your custom route was not inputted correctly.

Substatus codes

Microsoft's IIS 7.0, IIS 7.5, and IIS 8.0 servers define the following HTTP substatus codes to indicate a more specific cause of a 404 error:

  • 404.0 – Not found.
  • 404.1 – Site Not Found.
  • 404.2 – ISAPI or CGI restriction.
  • 404.3 – MIME type restriction.
  • 404.4 – No handler configured.
  • 404.5 – Denied by request filtering configuration.
  • 404.6 – Verb denied.
  • 404.7 – File extension denied.
  • 404.8 – Hidden namespace.
  • 404.9 – File attribute hidden.
  • 404.10 – Request header too long.
  • 404.11 – Request contains double escape sequence.
  • 404.12 – Request contains high-bit characters.
  • 404.13 – Content length too large.
  • 404.14 – Request URL too long.
  • 404.15 – Query string too long.
  • 404.16 – DAV request sent to the static file handler.
  • 404.17 – Dynamic content mapped to the static file handler via a wildcard MIME mapping.
  • 404.18 – Query string sequence denied.
  • 404.19 – Denied by filtering rule.
  • 404.20 – Too Many URL Segments.

Thanks for learning something new. It's really helps you...

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Not indicating that the content you copy/paste is not your original work could be seen as plagiarism.

Some tips to share content and add value:

  • Use a few sentences from your source in “quotes.” Use HTML tags or Markdown.
  • Linking to your source
  • Include your own original thoughts and ideas on what you have shared.

Repeated plagiarized posts are considered spam. Spam is discouraged by the community, and may result in action from the cheetah bot.

Creative Commons: If you are posting content under a Creative Commons license, please attribute and link according to the specific license. If you are posting content under CC0 or Public Domain please consider noting that at the end of your post.

If you are actually the original author, please do reply to let us know!

Thank You!

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://www.prestashop.com/en/blog/404-not-found-error-how-to-fix-it