Ask coding questions

← Back to all posts
404 page
ggigabyte (4)

Hello,
How can I replace the Replit 404 error page with a custom one and how do I make that people are redirected to it?

Comments
hotnewtop
xfinnbar (149)

You need a backend server, such as Python Flask. I've added a suggestion to the replit team, hopefully it gets added soon.

rivestoss (0)

You can't do this on a HTML/CSS/JS Repl
(or at least that's I believe)

ggigabyte (4)

@rivestoss Yes but how do I make that people are redirected to it?

rivestoss (0)

@ggigabyte for what I know, it's not possible to change default 404 page at all. What you can do is:
1> Download all your Repl files.
2> Create a Repl of a backend language that you know (and has a HTTP library).
3> Upload files to Repl (or upload the ZIP file and uncompress it).
4> Redirect 404 status to your custom page.