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

Redirect issues with case insensitivity #51

Closed
akoeplinger opened this issue Oct 28, 2014 · 3 comments
Closed

Redirect issues with case insensitivity #51

akoeplinger opened this issue Oct 28, 2014 · 3 comments

Comments

@akoeplinger
Copy link
Contributor

This relates to jekyll/jekyll#3035.

On my site, the download page has the following front matter:


---
title: Downloads page
permalink: /download/
redirect_from: /Download/

---

The redirect is there to not break existing links from before the site was on Jekyll.

This works fine for me locally on Linux and when the site is hosted on GitHub Pages, but recently a user on Mac OSX told me he got into a redirect loop when locally serving the site. Turns out, as HFS+ is case insensitive by default the redirect page actually overrode the "real" page and essentially redirected to itself.

I know there might not be a good solution for that problem, but ideally it'd prefer the "real" page and just ignore the redirect instead of overwriting the file.

@parkr
Copy link
Member

parkr commented Nov 25, 2015

@akoeplinger - is this fixed with that Doctor command?

@jekyllbot
Copy link
Contributor

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

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

If you can still reproduce this error on the

3.1-stable
or
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 building it first as a plugin. Jekyll 3 introduced
hooks which provide convenient access points throughout
the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be
built as a plugin, then please provide more information about why in order to keep this issue open.

Thank you for all your contributions.

@jekyllbot jekyllbot added the stale label Jun 6, 2016
@parkr
Copy link
Member

parkr commented Jun 13, 2016

We'll incorporate this into jekyll doctor. For now, filesystems be filesystems. 🐉

@parkr parkr closed this as completed Jun 13, 2016
@jekyllbot jekyllbot removed the stale label Jun 13, 2016
@jekyll jekyll locked and limited conversation to collaborators Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants