Right now i am using Yoast for SEO. I found 3000+ url indexed in Google webmaster tools. While i have just 100+ posts, by adding other stuff like tags and categories there should be around 300+ urls. I start inquiring why there are too many urls out there in Google webmaster. Then i found media attached urls are also indexed in Google.
I Tried to fix this with yoast plugin as mentioned in https://yoast.com/media-attachment-urls/
Google Increase 404 not found error in search console.
So technically i have 2 Questions.
1- How to Fix these 404 errors caused by yoast settins?
2 - Why there are
attachment-sitemap1.xml and other
attachment-sitemaps.xml in my sitemap. While i have disable the attached media urls with yoast settings. What is the soultuion?