Open shubhamw3nuts opened 1 month ago
Hey @shubhamw3nuts ,
Have you set your WordPress HOME_URL
to correctly point to your headless frontend?
WPGraphQL for Rank Math respects WordPress as the source of truth, so URLs should (correctly) point to whatever you have defined as your HOME_URL.
If you are not using WP as your source of truth, then you likely want to do a string-replace of the WordPress URL to your headless one, same way I'm assuming you're handling other internal URLs in returned html (e.g. ContentNode.content
)
Description
On my headless wordpress website fullHead on wpgraphql query result give me backend URL on og:meta tags instead of frontend URL how can i get front URL there?
Currently :
<meta
property="og:url"content="https://website.com/backend/blog/">
I Want :<meta property="og:url" content="https://website.com/blog/">
Steps to reproduce
.
Additional context
No response
Plugin Version
0.3.0
WordPress Version
6.6.1
WPGraphQL Version
1.27.0
RankMath SEO Version
1.0.223
Additional enviornmental details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for RankMath SEO, WPGraphQL, and WPGraphQL for Rank Math