Error 404 - File Not Found

Error 404: File Not Found

 

A 404 error means the server cannot find the file at the URL that was requested. This is one of the most common web errors and usually has a simple fix.

 

Common Causes

  • Wrong filename or path: The URL may have a typo, or the file may be in a different directory than expected. Remember that Linux servers are case-sensitive: Page.html is not the same as page.html.
  • File was deleted or moved: The file may have been removed or renamed. Check your public_html folder in cPanel File Manager.
  • Broken permalink structure: In WordPress, go to Settings > Permalinks and click Save (even without making changes). This regenerates the .htaccess rewrite rules.
  • Missing .htaccess: If your CMS relies on .htaccess for URL routing and the file is missing or empty, all pages except the homepage may return 404.

 

Custom 404 Page

You can create a custom 404 page so visitors see a helpful, branded message instead of a generic error. Add this to your .htaccess: ErrorDocument 404 /404.html and create a 404.html file with your custom content.

  • 781 Users Found This Useful

Was this answer helpful?

Related Articles

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

https:// with Weebly

Enabling HTTPS With Your Weebly Website   To enable and force HTTPS on your Weebly website:...

How to Speed Up Your Website

Improving Your Website Loading Speed   Website speed affects your visitor experience, your...

Why is my account suspended?

Why Is My Hosting Account Suspended?   If your website shows a suspension notice, your...

html or htm parsed as shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the...



Save 30% on web hosting - Use coupon code Hosting30