Are you a member? Register or Login

Custom 404 Error Page

The standard 404 error page can often be really frustrating for readers. Using a simple .htaccess file can allow you to customise your error page, and ensure that users are displayed a useful alternative.

800+ Designer-Made Website Templates + A Drag-and-Drop Builder

With Wix, you can create better websites with mobile-responsive templates, seamless drag & drop, and unlimited customization. Choose from 800+ stunning templates for any industry, sell your products or services, start a blog, and make smart decisions with clear analytics.

Start building for free today, and see just how quickly you can create a stunning, on-trend website.

Create Your Website Free

How to redirect the user

You need to create a .htaccess file, using any standard text editor. Copy and paste the following code – substituting the path for your local 404 html page:

Once you’ve done that, you are ready to go. Here are a few ideas of things to include in your 404 page:

  • A search box
  • A link back to the homepage
  • The same CSS and graphics as the rest of the website
  • A website index or map

Get creative, make the user feel that they have an alternative route to find what they are looking for, and you’ll vastly improve their experience on your website!

Imaginative 404 Pages

To get inspiration, take a look at some other 404 pages. You’ll be surprised what you’ll find!

Custom 404 Error Pages

Custom 404 Error Pages

Custom 404 Error Pages