404 redirect to index

Hi, I have a somewhat minor issue but it is bothering me a bit; I would like to get the 404 to be redirected to the index page but webflow does not allow me:

Edit: not sure anybody would need my readonly site for this one.

Hi @Lex , I was actually browsing to see if Webflow had a backend router versus the server’s 301 which obviously doesn’t work.

What I do is style the 404 page really simply to let the user know they are being redirected to the homepage (automatically) and add some code to force it.

In the page settings this is what I use:
Custom code for the head (just change the url to your root page).

<meta http-equiv="refresh" content="0; url=http://wikipedia.org" />

Custom code before the body close (just change the url to your root page).

    var onWindowLoad = function() {
        window.location.href = "http://wikipedia.org";

The code is adapted from this Stack Overflow post: javascript - How to include google analytics in redirect page? - Stack Overflow