This pluign won't work becuase the archive used for the sitemap are noindexed defeating the whole point.
grep is your friend.
workaround
public function categoriesController_render_before($sender, $args) { if ($sender->RequestMethod == 'archives') { $sender->Head->clearTag('meta', ['name' => 'robots', 'content' => 'noindex']); } }
Where to add the workaround code? I am suffering same issue and Google Search Console is irritating.
Comments
workaround
grep is your friend.
Where to add the workaround code? I am suffering same issue and Google Search Console is irritating.