Adding custom 404 pages to HTML/CSS/JS repls

Describe your feature request
Currently you cannot have a custom, descriptive 404 page that can redirect back to the home page or something

What problem(s) would this feature solve?
Not being able to follow the SEO starter guide by Google: show useful 404 pages(here) and have ease of use for non-technologically minded users

Explain what you were trying to do when you came across the problem leading to this feature request
Follow the Google SEO starter guide

2 Likes

While I admit this would be nice in the template directly, I have a simple Node.js template that provides this functionality. You can view it here.

3 Likes

That’s true, but I want the static hosting feature so users don’t get the “starting repl” page and i’m too cheap to use always on + i don’t need any of the other features of node.js so it’d be a waste of account resources. useful tho

2 Likes

After reducing the packages it’s using, the template is like 3MiB

Node starts pretty fast tbh, and worst-case scenario, you use something like the cron-job.org Dashboard to keep the Repl awake.

3 Likes

:person_shrugging:
I know that it wouldn’t save much account resources, buuut im low and don’t want to delete anything as i basically grew up on replit + it will still be useful

How much does your existing HTML/CSS/JS Repl use?

1 Like