Hugo Advance Docs

Custom 404 Page

This theme has a custom 404 page. If you wish to change this page you You can edit the layout at layouts/404.html

This 404 page will work with Netlify. The following line is included in the Netlify _redirects file

/* /404.html 404

hugo server will not automatically load your custom 404.html file, but you can test the appearance of your custom “not found” page by navigating your browser to /404.html.