@swacedigital/gatsby-plugin-swace-redirects
v1.0.6
Published
A WordPress plugin for adding redirects to a gatsby site.
Downloads
41
Readme
Swace Gatsby Redirects
A WordPress plugin for adding redirects to a gatsby site.
Description
This is the companion plugin for Swace Gatsby Redirects.
Installation
Install as any npm-package (@swacedigital/gatsby-plugin-swace-redirects) and add to gatsby-config.js like so:
module.exports = {
plugins: [
`@swacedigital/gatsby-plugin-swace-redirects`,
]
};
The plugin requires an environmental variable GATSBY_WP_BASE_URL
to be set. This variable should point at the base URL of the backend server.