If you notice Google Webmaster tools console flagging up the following…
Error – Submitted URL marked ‘noindex’ for http://site.com/sitemap.html
You can easily prevent these HTML files being created by the “XML Sitemap Generator for WordPress” plugin.
This is NOT in your site’s robots.txt file but instead it’s a meta tag in all html sitemap pages generated by the plugin.
The only page Google needs is the sitemap.xml file these extra html files aren’t needed.
- Login to wordpress (ofc)
- Go to settings > XML-sitemap
- Find and un-tick “Include sitemap in HTML format”
- Make sure to apply the change by scrolling to the bottom of page and click [Update options]
This article is specific to “XML Sitemap Generator for WordPress” https://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/