This plugin creates a graphQL object and related fields for redirects created with the Redirection plugin for WordPress. It was developed for use with GatsbyJS, but should be compatible with other graphQL applications.
Please note that additional code in the consuming application is needed to process these fields and create redirects. For Gatsby projects, check out our related Gatsby plugin in the Gatsby plugin library.
Please also note that many redirect rules provided by Redirection may not be applicable for a headless app. For example, redirect rules based on whether a user is logged in. This plugin provides all of those rules by default, it is up to your consuming application to handle the different types.
This is not an official extension of Redirection. Redirection redirects are also available via the Redirection REST API.
This plugin requires the Redirection plugin and the WPGraphQL plugin.
- Install this plugin from the directory or by downloading it directly from here and uploading it.
- Activate the plugin.
- Your redirects should be available at the rootquery as “redirects”.
“Redirection GraphQL Extension” 是开源软件。 以下人员对此插件做出了贡献。贡献者
将“Redirection GraphQL Extension”翻译成您的语言。
- Beta launch.