jekyll / jekyll-sitemap

Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site
http://rubygems.org/gems/jekyll-sitemap
MIT License
961 stars 135 forks source link

Feature Request: output urls without .html #222

Closed k-funk closed 5 years ago

k-funk commented 6 years ago

For the sake of brevity and cleaner urls within my site (<a href="/documentation">), my web server (nginx) serves up *.html if the url doesn't have a file extension.

Example: Both of these urls point to the same file.

The only problem is that this causes a problem for SEO/analytics because google will point them to the .html page because of the output of jekyll-sitemap (contains .html), and then I have hits on two different urls that are actually the same. Ideally, it would be possible to, using _config.yml, format the output of each <loc> to not use .html.

jekyllbot commented 6 years ago

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.