From fc5e43db2fbb4e05fcbff610a487a3fdb8ac95f5 Mon Sep 17 00:00:00 2001 From: Dirk Kelly Date: Wed, 15 May 2019 11:48:10 +0800 Subject: [PATCH] Update 404.md with Netlify Instructions --- content/en/templates/404.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/templates/404.md b/content/en/templates/404.md index c6bea1912..bb1d5e424 100644 --- a/content/en/templates/404.md +++ b/content/en/templates/404.md @@ -52,6 +52,7 @@ Your 404.html file can be set to load automatically when a visitor enters a mist * Amazon AWS S3. When setting a bucket up for static web serving, you can specify the error file from within the S3 GUI. * Amazon CloudFont. You can specify the page in the Error Pages section in the CloudFont Console. [Details here](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) * Caddy Server. Using `errors { 404 /404.html }`. [Details here](https://caddyserver.com/docs/errors) +* Netlify. Add `/* /404.html 404` to `content/_redirects`. [Details Here](https://www.netlify.com/docs/redirects/#custom-404) {{% note %}} `hugo server` will not automatically load your custom `404.html` file, but you