Plugin Support
Suwash
(@suascat_wp)
When you upload an image, WordPress automatically creates a post of the type “attachment” in the database and the corresponding URL for that. It calls this the “media” post type. This is usually not considered good to include on the sitemap and appear on the Search Result as just being an attachment URL. However, this setting won’t prevent Google from indexing the actual image URLs, therefore, it won’t hurt your SEO.
Thank you suascat.
So in what situation would it be good to enable?
Thanks
JP
If you’re wanting to see the media (attachment) pages in the Google search results, you’d include the media (attachment) post types to the XML Sitemap.
Plugin Support
Jerlyn
(@jerparx)
Closed due to inactivity.
Reopened due to no answer from Yoast support staff.
@jpnl We apologize for the confusion. @suascat_wp, @mazedulislamkhan and @jerparx are part of the Yoast support staff.
Closing since the question has been answered above by Yoast support.