Ask coding questions

← Back to all posts
404 page
ggigabyte

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?

Voters
ggigabyte
Comments
hotnewtop
xfinnbar

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

rivestoss

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

ggigabyte

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

rivestoss

@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.