Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid root element, missing trailing slash #87

Closed
NicoHood opened this issue Jan 6, 2021 · 2 comments
Closed

Invalid root element, missing trailing slash #87

NicoHood opened this issue Jan 6, 2021 · 2 comments

Comments

@NicoHood
Copy link

NicoHood commented Jan 6, 2021

See getgrav/grav#3127

Tl;dr: The homepage should be https://homepage.com/, but currently is https://homepage.com.
This should be fixed in Grav, but the plugin is affected.

@NicoHood
Copy link
Author

NicoHood commented Jan 6, 2021

Temporary workaround:

# TODO workaround for https://github.com/getgrav/grav-plugin-sitemap/issues/87
ignores:
  - '/'
additions:
  -
    location: /
    lastmod: '2021-01-06'
    changefreq: daily
    priority: 1.0

@rhukster
Copy link
Member

as you say this is a grav issue, we're just using canonical() in sitemap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants