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 block an IP address

If a particular visitor or bot is causing trouble — spam, scraping or attacks — you can block...

How to set up a redirect

Redirects send visitors from one URL to another — useful when you move a page, change its name,...

How to set up an FTP account

FTP lets you upload and manage your website files with a program like FileZilla. Here's how to...

How to enable hotlink protection

Hotlinking is when another website embeds your images directly, using your bandwidth to display...

How to upload your website

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