• Resolved marchamburg

    (@mopohamburg)


    Hi guys,

    is there a way to set the meta robots to noindex automatically if the post exceeds a date in the past?

    I would like to switch all blogposts which are older than 3 months to noindex. All younger posts should have the setting meta robots index.

    And if a post is set to noindex it should be deleted from the sitemap.

    Thanks,
    Marc

    • This topic was modified 5 years, 4 months ago by marchamburg.
Viewing 1 replies (of 1 total)
  • Thread Starter marchamburg

    (@mopohamburg)

    I’ll solve it with an own script. I’ll check the posts and insert a small piece in the wp_postmeta for each blogpost which is older than I need.

    Cheers,
    Marc

Viewing 1 replies (of 1 total)
  • The topic ‘Setting robots to noindex or index depending on post age’ is closed to new replies.