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

Add option to keep index.html in links #254

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kriation
Copy link

@kriation kriation commented Nov 16, 2019

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 kriation reopened this Dec 24, 2020
@kriation
Copy link
Author

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

@brint
Copy link

brint commented Mar 16, 2022

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.

@kriation
Copy link
Author

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.

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

Successfully merging this pull request may close these issues.

2 participants