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

Improve Sitemap #334

Closed
captn3m0 opened this issue Aug 4, 2021 · 1 comment
Closed

Improve Sitemap #334

captn3m0 opened this issue Aug 4, 2021 · 1 comment
Labels
Hacktoberfest Issues that are good first picks for Hacktoberfest participants

Comments

@captn3m0
Copy link
Member

captn3m0 commented Aug 4, 2021

We should switch away from the sitemap plugin to a custom sitemap, which should include:

  • All pages (products+about+docs)
  • Alternate Product URLs
  • API JSON endpoints

Our current generated sitemap: https://endoflife.date/sitemap.xml, only includes very few pages. We want this to be more exhaustive.

@captn3m0
Copy link
Member Author

captn3m0 commented Sep 27, 2021

If you'd like to work on this, create a new sitemap.xml file which follows the sitemap specification, and loops over all of the above mentioned links.

Look at the _redirects file to see how to loop through alternate product URLs and JSON endpoints.

Make sure the https://endoflife.date/docs/api/ page is also indexed. If you are new to Jekyll, read through the Jekyll documentation at jekyllrb.com. There some tutorials on the internet that might be helpful as well.

Read through very helpful guide for new contributors during Hacktoberfest as well to understand how to setup the project.

@captn3m0 captn3m0 added good first issue Hacktoberfest Issues that are good first picks for Hacktoberfest participants labels Sep 27, 2021
captn3m0 added a commit that referenced this issue Apr 8, 2022
This creates a custom sitemap for us.
- No asset files
- Links to the API
- Includes /docs/api
- Last Modified is okay-okay
- Decided not to index alternate_urls based on guidance from Google
  https://twitter.com/JohnMu/status/1509051100372078592 that sitemaps
  should not include redirect URLs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Issues that are good first picks for Hacktoberfest participants
Projects
None yet
Development

No branches or pull requests

1 participant