gatsby-plugin-redirects
Advanced tools
Manage website redirects from a single json file
Weekly downloads
Readme
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.
npm install --save gatsby-plugin-redirects
// 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"
}
]
MIT
FAQs
Manage website redirects from a single json file
The npm package gatsby-plugin-redirects receives a total of 641 weekly downloads. As such, gatsby-plugin-redirects popularity was classified as not popular.
We found that gatsby-plugin-redirects demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.