How to set 404 page in html | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to set 404 page in html

I want to add a404 page in my website but i can't can anyone help me please? 🙏🙏

2nd Apr 2024, 6:55 PM
Tewoflos Daniel
Tewoflos Daniel - avatar
2 Respuestas
+ 1
Create a file with name ".htaccess" in the server's root directory and save this as it's content #ErrorDocument 403 error403Url ErrorDocument 404 error404Url #ErrorDocument 500 error500Url
2nd Apr 2024, 10:56 PM
IAmSupreme
IAmSupreme - avatar