OT: How to Redirect 404 to home page

I am using Netlify redirects and i want to redirect all 404 page to home page, i am using hugo themee

Example - abc.com/xyz - this page doesn’t exist and i want to redirect it to home

Any help ?

put a redirect in the 404.html

The question is off-topic in this forum.

We only provide support for Hugo.

For general web development questions please use other channels.