This repository was archived by the owner on Jan 5, 2021. It is now read-only.
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
Redirects get included in sitemap, but they have "noindex, follow" metatag #11
Open
Description
Hello again. :) Just found another side-effect. Redirects created in config.rb
like:
redirect 'tags/peperoni.html', to: 'tags/pepperoni.html'
do get included in sitemap (which is probably fine?), but the Middleman includes a "noindex, follow" metatag in generated HTML code:
<meta name="robots" content="noindex,follow" />
which is being considered as an error by Google Search. Anybody has an opinion on which is better: disable redirects being added to sitemap, or changing the Middleman template HTML-code for redirects? Or create a new config option in middleman-search_engine_sitemap?
Metadata
Metadata
Assignees
Labels
No labels