Custom 404 page
- snivell
- This is my homepage
- Posts: 114
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Oct 17, 2013 6:29 pm
- Location: United States
Custom 404 page
How do I set a custom 404 page not found page?
Re: Custom 404 page
This can be done using ".htaccess". Let's say your page is located at: http://example.com/Custom404.html
Create or edit your .htaccess in the root directory of the website itself, and then add this line:
You would obviously replace "http://example.com/Custom404.html" with the location to your 404 page.
Create or edit your .htaccess in the root directory of the website itself, and then add this line:
Code: Select all
ErrorDocument 404 http://example.com/Custom404.html