-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.help wantedAsking for outside help and/or contributions to this particular issue or PR.Asking for outside help and/or contributions to this particular issue or PR.
Description
🐛 Bug Report
The XML sitemaps currently output loc, changefreq and priority for every url set. I would propose dropping the changefreq and priority fields, as none of the search engines use these, and instead adding the lastmod field, with the last modification date of the file.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
(Write your steps here:)
- Open any DocuSaurus v2 sitemap :)
Expected behavior
The current output would be:
<url>
<loc>https://developer.yoast.com/features/canonical-urls/api</loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>(Write what you thought would happen.)
Actual Behavior
I propose changing it to:
<url>
<loc>https://developer.yoast.com/features/canonical-urls/api</loc>
<lastmod>2020-04-14T11:22:05+00:00</lastmod>
</url>Your Environment
- Docusaurus version used: v2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.help wantedAsking for outside help and/or contributions to this particular issue or PR.Asking for outside help and/or contributions to this particular issue or PR.