WP GraphQL Redirection
Exposes Redirection plugin in the GraphQL schema.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/superhuit-agency/wp-graphql-redirection/releases/download/v2.0.4/wp-graphql-redirection.zipOn Packagist as superhuit/wp-graphql-redirection:
composer require superhuit/wp-graphql-redirectionExposes Redirection plugin in the GraphQL schema.
Requirements
- Requires PHP 7.4+
- Requires WordPress 5.0+
- Requires WP-GraphQL 1.8+
- Requires Redirection 5.0+
Install and Activate
WPGraphQl Redirection is a WordPress Plugin. YOu must then have a running WordPress instance with both WPGraphQL and Redirection plugins installed and activated.
Installing From Github
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.
Installing from Composer
composer require superhuit/wp-graphql-redirection
Example
query getAllRedirections {
redirections {
code
target
url
}
}
query getTheRedirection($uri: String!) {
redirections(uri: $uri) {
code
target
url
}
}Releases
9 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the v2.0.2 cohort. Method.