Redirection GraphQL Extension

plugin banner

Expose redirects set up in Redirection plugin to GraphQL API.

Author:urbaninsight, bcupham (profile at wordpress.org)
WordPress version required:5.1.0
WordPress version tested:6.0
Plugin version:0.9
Added to WordPress repository:01-07-2022
Last updated:01-07-2022
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:601
Active installs:90+
plugin download
Click to start download

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.


ChangeLog