WordPress.org

Forums

Yoast SEO
Attachment sitemap including images on posts not yet published. (1 post)

  1. Ben May
    Member
    Posted 2 years ago #

    Hi Joost

    I've found that the query you use grabs attachments of posts, but doesn't check if the post is published.

    Scenario is a draft post with images or a private page has attachments, these images are indexed in the sitemap.

    I've taken a look at the query, and I can't immediately think of a quick fix. Not sure if this is a known bug? Happy to look into it further.

    Cheers,
    Ben

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.