-
Hi there,
I was previously a user of Rank Math and looking at going Pro, but I had to switch to Yoast because I use Gatsby and WPGraphQL, which is supported by Yoast.I note with extreme interest that you now provide a REST API endpoint for Rank Math. Are there any plans to incorporate WPGraphQL fields too?
If there are, may I also make a small suggestion, based on my experience with Yoast. When exposing data in WPGraphQL (and probably the REST API too) it’s important to understand that often, headless users will have the WordPress installation on a very different subdomain to the generated HTML. For example, I host my WordPress backend on [moved to sensitive data section]
With that in mind, it’s an important feature (to me at least, and I suspect other headless users) to have the ability to ‘rewrite’ the exposed URLs. It’s also important to note, that in Gatsby Source WordPress, any URLs that match the GraphQL endpoint will be rewritten to local notation (ie, the scheme and host is stripped). This can cause big problems with GraphQL generated headers such as breadcrumbs and other Schema.org data that Google expects to see a full URL (as well as twitter:image OG tags).
Anyway, I’ve rambled enough. I’d absolutely love to switch back to Rank Math and WPGraphQL would see that be possible for me. And I’ll write an article about how great it is 🙂
If you need a tester, I’m more than happy to help and will volunteer time to help you make it work well with Gatsby as I have done exactly this on my sites but as I say, forced to use Yoast at the moment.
Many thanks for your time,
The ticket ‘GraphQL Support In Headless?’ is closed to new replies.