-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option of changing of root url #107
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
not stale @ashhitch |
This is a nice to have feature, because the raw schema comes with WordPress base URL and we need to change to the front-end URL. I will try to change the URL with type.__all.beforeChangeNode function from gatsby-source-wordpress, another option can be the search-replace function but this changes the URL in the content also. |
I see this issue has been open for a while. Seems like something that (almost) everyone using this type of setup with GraphQL (i.e. headless WP) will need. I tried setting the Did anyone implement an elegant solution to this themselves? I'm thinking of adding a setting using a small extra plugin and using a search / replace to filter the url generated by Yoast. |
Add this filter in WP:
|
While generating the schema the root URL has the wordpress domain (wordpress.example.com). Is there a way to change the url to (blog.example.com)?
The text was updated successfully, but these errors were encountered: