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

My pages are updating/refreshing slowly

Website Pages Loading or Updating Slowly   If your website pages are loading slowly or...

Your connection to this server has been blocked at the firewall

Blocked by the Server Firewall   If you see the message "Your connection to this server has...

Point my domain to my wix account

Pointing Your Domain to a Wix Account   If you want to use Wix for your website while...

I need a module installed but I do not have rights

Requesting a Server Module Installation   No problem at all. If you need a Perl module, PHP...

Why can users behind proxies not see my site?

Users Behind Proxies Cannot See My Site   If some visitors (particularly those on corporate...



Save 30% on web hosting - Use coupon code Hosting30