Hi @cluin,
Thanks for your comment.
We apologize for any inconvenience this has caused you.
Unfortuntately, there was a bug in Yoast SEO 7.0 where some settings were not properly migrated after updating to v7.0. The bug was completely fixed in v7.0.3 so you should no longer experience problems with the Yoast settings being migrated incorrectly. Please, refer to the changelog for more details: https://yoast.com/wordpress/plugins/seo/change-log-wordpress-seo/
For some users, this caused the attachment pages to be indexed, as the index setting was not correctly imported from the previous plugin version. We’d suggest going to “SEO > Search Appearance > Media” and:
- Make sure that your attachment pages are redirected to the attachment itself or, alternatively,
- Toggle the “Show Media in search results?” button to No
Either action will make Google update its index and remove these pages from the search results. As much as we’d like these changes to happen instantly, it may take Google some time to reflect them in the search results. Re-submitting your sitemap index to Google Search Console may speed up this process.
On the other hand, we removed the feature to set the subpages to noindex in Yoast SEO for WordPress v6.3. Please feel free to refer to this article for more information as to why we removed that feature and why it’s more beneficial to index the subpages https://yoast.com/pagination-seo-best-practices/