Skip to content
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
@komor72

Description

@komor72

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions