How to Set a Custom 404 Page With htaccess

Learn how to create a custom 404 page using the .htaccess file. You can specify a custom static 404 page or add a basic page directly in the .htaccess file. This is what will display when visitors to your site try to access a page that does not exist.
You can create a custom 404 by adding the following code to your .htaccess file:
ErrorDocument 404 /404.html

You can also specify an existing page. In this example, there is a page titled 404.html:
ErrorDocument 404 /404.html

00:00 Intro
00:39 Show Hidden Files
00:47 How to Create an .htaccess File
00:59 Set a Custom 404 Page
01:55 Outro

► To learn more, check out our full article on How to Set a Custom 404 Page With .htaccess:

How to Set a Custom 404 Page With .htaccess

► You can also find out more by going to our Website Educational Channel:

Related Articles
► How to Login to cPanel:

How to Login to cPanel

► How to create a new file:

How to create a new file

About Us:

InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here:

#404Error #Custom404 #htaccess

Duration: 00:02:16
Publisher: InMotion Hosting
You can watch this video also at the source.

Inxy Hosting CDN Marketplace