Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Gatsby Plugin: Disable 404

MIT License CircleCI NPM

Disable /404 and /dev-404-page pages.


# With Yarn
$ > yarn add -D gatsby-disable-404

# With NPM
$ > npm install --save-dev gatsby-disable-404


// gatsby-config.js

module.exports = {
  siteMetadata: {
    title: "Gatsby Default Starter"
  plugins: ["gatsby-disable-404"]


Feel free to use the code, it’s released using the MIT license.


You are welcome to contribute to this project! 😘

To make sure you have a pleasant experience, please read the code of conduct. It outlines core values and beliefs and will make working together a happier experience.

© 2023 Gatsby, Inc.