Skip to content

No Index tag on SEO Components #1858

Closed
Closed

Description

@monzuralam

Recently, I used faustjs on my headless WordPress Project. my development ongoing. So, I want to discourage search engines on my website.

In SEO, Compoenets there are no features about it.

File Location: components/SEO/SEO.js

By default index behavior is true, if anyone wishes to noindex then just pass props false;

Activity

  1. theodesp commented on Mar 25, 2024

    @theodesp
    Member

    Hey @monzuralam. Is there a particular issue you are facing here? Thanks

  2. monzuralam commented on Mar 27, 2024

    @monzuralam
    Author

    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.

    Currently, in this framework, we can't manage it.

  3. theodesp commented on Mar 27, 2024

    @theodesp
    Member

    Hey @monzuralam . Thanks for the report. Would you be able to submit a PR about it?

  4. mindctrl commented on Mar 27, 2024

    @mindctrl
    Contributor

    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.

  5. theodesp commented on Mar 27, 2024

    @theodesp
    Member
  6. jasonbahl commented on Mar 27, 2024

    @jasonbahl
    Contributor

    I'd recommend using register_graphql_field in the meantime to add settings like this to the schema.

  7. theodesp commented on May 29, 2024

    @theodesp
    Member

    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.

  8. locked and limited conversation to collaborators on May 29, 2024
  9. converted this issue into a discussion #1893 on May 29, 2024
  10. moved this from 🆕 Backlog to ✅ Closed in Headless OSSon May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] FeatureA new feature within an existing module

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions