Exposes Redirection plugin in the GraphQL schema.
- Requires PHP 7.4+
- Requires WordPress 5.0+
- Requires WP-GraphQL 1.8+
- Requires Redirection 5.0+
WPGraphQl Redirection is a WordPress Plugin. YOu must then have a running WordPress instance with both WPGraphQL and Redirection plugins installed and activated.
To install the plugin from Github, you can download the latest release zip file, upload the Zip file to your WordPress install, and activate the plugin.
Click here to learn more about installing WordPress plugins from a Zip file.
composer require superhuit/wp-graphql-redirection
query getAllRedirections {
redirections {
code
target
url
}
}
query getTheRedirection($uri: String!) {
redirections(uri: $uri) {
code
target
url
}
}