Title: Using Redirection with Graphql
Last modified: October 16, 2021

---

# Using Redirection with Graphql

 *  Resolved [bcupham](https://wordpress.org/support/users/bcupham/)
 * (@bcupham)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-redirection-with-graphql/)
 * Hi,
 * I’d like to make the redirects created in the plugin available to WP Graphql.
   I am trying to figure out the best way to get all the associated data (setting
   up the graphql field is easy after that). `Red_Item::get_all()` only gets the
   target URL as far as I can see. Is there some other method that I can use to 
   get all data associated with each redirect?
 * Thank you,
    Ben

Viewing 1 replies (of 1 total)

 *  Thread Starter [bcupham](https://wordpress.org/support/users/bcupham/)
 * (@bcupham)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-redirection-with-graphql/#post-14977028)
 * Never mind — it’s all there in the individual Red_Item objects returned by get_all(),
   using the methods on that class.
    -  This reply was modified 4 years, 7 months ago by [bcupham](https://wordpress.org/support/users/bcupham/).

Viewing 1 replies (of 1 total)

The topic ‘Using Redirection with Graphql’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [graphql](https://wordpress.org/support/topic-tag/graphql/)

 * 1 reply
 * 1 participant
 * Last reply from: [bcupham](https://wordpress.org/support/users/bcupham/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/using-redirection-with-graphql/#post-14977028)
 * Status: resolved