How to create a custom 404 error page

A friendly page not found (404) page keeps visitors on your site instead of hitting a blank error. You can create your own in minutes.

Create the page

  1. Make an HTML file named 404.html with your design and a link back to your home page.
  2. Upload it to your public_html folder via File Manager.

Tell the server to use it

  1. Open (or create) the .htaccess file in public_html.
  2. Add the line: ErrorDocument 404 /404.html
  3. Save, then visit a non-existent page to test it.

On WordPress

WordPress themes include their own 404 template — edit it under Appearance, or style it with a page builder or plugin. Need a hand? Open a ticket.

Was this answer helpful?

 Print this Article

Also Read

How to upload your website

Once your hosting is active, put your website online by uploading its files to the public_html...

How to set up an FTP account

FTP lets you upload and manage your website files with a program like FileZilla or Cyberduck....

How to change your PHP version

Different apps need different PHP versions. In CHPanel you choose the PHP version per website,...

How to set up a redirect

Redirects send visitors from one address to another — useful when you move a page, rename it, or...

How to password-protect a folder

Directory Privacy puts a username and password in front of a folder on your site — or the whole...