Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Github pages case insensitive?

Is there a way to make github pages case insensitive?

Or in jekyll to ensure all url's are lowercase?

For example this url is valid:

http://www.example.net/Vegas-2014.html

but this 404s

http://www.example.net/vegas-2014.html

I don't like that from a usability perspective. (think text messaging urls, typing them in, etc.)

I know I can fix this with permalink, but I'm wondering if there is a way to do it through configuration of Jekyll or pages or some other technique.

like image 430
David Silva Smith Avatar asked Sep 12 '14 20:09

David Silva Smith


1 Answers

Sorry but case-sensitiveness is a standard for URL that is respected in Unix/Linux world. Windows world in more case insensitive but it's another world ;-).

An Apache, Nginx or other open-source server is case-sensitive by default and can be configured to be case insensitive.

In the Jekyll/Github pages world, we must take care of our cases.

But maybe you can give try to Jekyll redirect from.

like image 82
David Jacquel Avatar answered Sep 29 '22 23:09

David Jacquel