Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

gatsby-plugin-redirects

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

gatsby-plugin-redirects

Manage website redirects from a single json file

    1.0.0latest
    npm

Version published
Maintainers
1
Weekly downloads
746
increased by6.72%

Weekly downloads

Readme

Source

gatsby-plugin-redirects

Manage redirects from a single file for static hosting.

If you're using a hosting provider that doesn't offer built in redirect support you can use this plugin to create static HTML files with the redirect meta tag.

Installation

npm install --save gatsby-plugin-redirects

Usage

// gatsby-config.js module.exports = { plugins: [ 'gatsby-plugin-redirects' ] }

Then create a redirects.json file in the root of your project:

[ { "from": "/old/path", "to": "/new/path" } ]
  • https://github.com/getchalk/gatsby-plugin-meta-redirect

License

MIT

FAQs

Last updated on 17 Mar 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc