All 404 pages redirect to homepage

Hi everyone,

I’d like to create a redirect that will take all incorrect links (404 pages) and automatically redirect to the my home page. How can I do that?

For example, if someone types http://mydomain.com/abc
They get redirected to http://mydomain.com/


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

If you just want the user experience to be the redirect, you can do that with a META redirect;

<meta http-equiv="refresh" content="0; url=https://mysite/mypage">

If you want it to avoid the HTTP404 altogether you’d need a reverse proxy.
`

1 Like

Thanks, I’ve put that in the head of the 404 page and it works!