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.

Install

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

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

Configuration

// gatsby-config.js

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

License

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

Contribution

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.

© 2024 Gatsby, Inc.