Ask coding questions

← Back to all posts
How too make a custom 404 page.
CHONKEDMAGGOT

the title says it all. The rest of this will be filler to make up 50 characters.

Voters
CHONKEDMAGGOT
Comments
hotnewtop
sn236

If you want a 404 page to work like a 404 page then you need a webserver. But if you want a 404 page when some one clicks link on your website so you can create a 404 page file(it should be html) and link it with the link using the href tag. You can see some 404 pages here

QuickV

It isn't possible with HTML repls, sorry .-.

You need a webserver .-.

ch1ck3n

if you really want an html repl, just make a file with every single possible name you can think of and put your 404 code there

CosmicBear

You can't make custom 404 pages with HTML repls. As @Saml2020 said, you need a webserver. Whatever framework you choose to use for it, should have a way to use a custom 404 page.

Saml2020

You cannot with html repls.

You'll need a webserver in nodejs, python, php or others.