jekyll-sitemap icon indicating copy to clipboard operation
jekyll-sitemap copied to clipboard

Add option to keep index.html in links

Open kriation opened this issue 5 years ago • 3 comments

By default, jekyll-sitemap removes index.html from all permalinks to ensure clean URLs in the resulting sitemap.xml. In some cases (particularly when Jekyll is hosted in S3) keeping index.html is helpful to ensure that search engines can properly hit the index.

kriation avatar Nov 16 '19 15:11 kriation

@DirtyF @ashmaroli - When you have a chance, could you take a look at this PR?

kriation avatar Jan 18 '21 20:01 kriation

This would be nice. I'm currently leaving some pages out of my sitemap so Google will stop yelling at me for 403s for things hosted out of S3.

brint avatar Mar 16 '22 00:03 brint

Thanks for the support, @brint! I'm using it in my deployment for this exact reason with a slight adjustment in the Gemfile pulling from my fork.

kriation avatar Apr 15 '22 18:04 kriation