Hi @eac2015,
Thank you for sharing your experience and working through the confusion with the sitemap settings. I apologize for any misunderstanding in our previous communication.
You’re right—search engines can index images regardless of whether they appear in the sitemap.
If you’re referring to the Exclude Images settings under the All in One SEO > Sitemaps > General Sitemaps > Advanced Settings section, it will turn off the image counts for individual pages/posts.
As seen here: https://a.supportally.com/v/Sxw6Om
Regarding the default Media Attachment, if you have set the Redirect Attachment URLs setting to ‘Attachment‘ on the All in One SEO > Search Appearance > Image SEO section, then you do not need to uncheck the ‘Attachment‘ option on the sitemap Post Type (https://a.supportally.com/i/ehKEbQ). This is because you have already configured your attachment URLs to redirect as ‘Attachment‘ in the Image SEO settings.
As seen here- https://a.supportally.com/v/p7BUgk
These (media files) are thin pages that contain no SEO-valued content, so we recommended redirecting attachment URLs back to the attachment since the default WordPress attachment pages have little SEO value.
I’m glad you managed to resolve this, and I appreciate your detailed explanation—it will certainly help others who might face the same situation.
For more insights on managing media attachments and whether to submit them to search engines, you can check our comprehensive documentation here:
https://aioseo.com/docs/what-are-media-attachments-and-should-i-submit-them-to-search-engines/
I hope this helps.
Thanks again!