Q: Is there a way to remove the no-index pages from the sitemap? I get the following recommendation: Pages with the no-index meta tag have been found in the XML sitemap. This is confusing for search engines since sitemaps should only list pages that have to be crawled and indexed.
A: Yes, you can use Squirrly SEO to remove the no-index pages from the sitemap.
Yes, you can do this by post type using the SEO Settings > Automation functionality. Simply select the post type and switch off: “Include In Sitemap”.
Or you can do this at an URL level by editing the SEO Snippet and then selecting “Visibility”. More details about this can be seen here.