Commit 4e2c81b6 authored by Jamie Tanna's avatar Jamie Tanna

Add support for 404 page

Via Anna's awesome post[0], set up the ability to use a custom 404 page
on Netlify.

And as usual, announce via a blog post.

Closes #448.

parent 5d105ac2
Pipeline #80892874 passed with stages
in 8 minutes and 19 seconds
title: '404: Page Not Found'
I'm really sorry but unfortunately the link you've followed hasn't been found.
If you feel like it should be there, please [raise an issue](
You may be able to find what you're looking for by [searching for it](/search/).
title: "Adding a 404 page for on Netlify, with Hugo"
description: "Announcing a swanky new 404 page for"
- blogumentation
- hugo
- netlify
license_code: Apache-2.0
license_prose: CC-BY-NC-SA-4.0
date: 2019-09-07T23:23:09+0100
slug: "netlify-404-hugo"
[In April]( I realised that my 404 page wasn't working on Netlify, which meant that when someone hit an invalid link on my site, they'd get a default Netlify error page, rather than anything branded on my site.
Now, I make a large amount of effort to make sure that my site never returns a 404 - I verify that my blog posts always stick around (as I receive a lot of traffic from external sources) as well as performing HTMLProofer checks on the site to verify that anything I've personally linked in the site resolves correctly.
I used <span class="h-card"><a class="u-url" href="">Anna</a></span>'s awesome post [Custom 404 page in Hugo on Netlify]( to get this working - plus adding a custom content page [/404/](/404/).
from = "/*"
to = "/404/"
status = 404
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment