You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @theodesp, I can fix it on my current project by modifying the SEO Component. But I think it should be updated globally.
In WordPress, we can add an index & no index tag on any page/post. Faustjs is a WordPress Headless framework, We should update it on the SEO component & smoothly manage the index & no index tag.
Ideally noindex would be tied to the "Discourage search engines from indexing this site" setting under Settings > Reading in wp-admin. It looks like WPGraphQL does not expose this setting under readingSettings. I think we need to open an issue/PR upstream before we can support it here.
Hey @monzuralam thank you for the question. We are going to move this ticket into the discussions section and you can review @jasonbahl suggestion as well.
Activity
theodesp commentedon Mar 25, 2024
Hey @monzuralam. Is there a particular issue you are facing here? Thanks
monzuralam commentedon Mar 27, 2024
Hey @theodesp, I can fix it on my current project by modifying the SEO Component. But I think it should be updated globally.
In
WordPress, we can add an index & no index tag on any page/post.Faustjsis a WordPress Headless framework, We should update it on the SEO component & smoothly manage theindex&no indextag.Currently, in this framework, we can't manage it.
theodesp commentedon Mar 27, 2024
Hey @monzuralam . Thanks for the report. Would you be able to submit a PR about it?
mindctrl commentedon Mar 27, 2024
Ideally
noindexwould be tied to the "Discourage search engines from indexing this site" setting under Settings > Reading in wp-admin. It looks like WPGraphQL does not expose this setting underreadingSettings. I think we need to open an issue/PR upstream before we can support it here.theodesp commentedon Mar 27, 2024
cc @jasonbahl
jasonbahl commentedon Mar 27, 2024
I'd recommend using
register_graphql_fieldin the meantime to add settings like this to the schema.theodesp commentedon May 29, 2024
Hey @monzuralam thank you for the question. We are going to move this ticket into the discussions section and you can review @jasonbahl suggestion as well.