Ask coding questions

← Back to all posts
How to make an error page?
CodingAndMemes (25)

I would like to make an error page like google’s
On my website, but I do not know how, a .htaccess filedoes not seem to work

My error page is here

Main Website

Highwayman (1257)

You would have to make an actual http server instead of a normal HTML repl. I suggest using the express template.

Highwayman (1257)

@Highwayman here’s a little thing I made for you. It should work. Just put your website’s pages in the public folder and your error page in public/error_page.