Noindex by default on all new posts

#941655
  • Resolved The Alex
    Rank Math free

    Hello, I wanted to add a no-index tag by default for all new posts I publish on the website. Can you please share the function.php code or other code that will help me achieve this? It would be really helpful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting us and bringing your concern to our attention.

    You can Noindex your post type from WP Dashboard > Rank Math > Titles & Meta > Posts: https://rankmath.com/kb/how-to-noindex-urls/#noindex-post-type

    However, this will be applied to all of your posts, not only the newly published posts on your website.

    If you want to index your old posts, you can change the robots meta to index from the Rank Math SEO Meta box Advanced tab:

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

    Thanks

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Noindex by default on all new posts’ is closed to new replies.