Redirecting uppercase URLS to lowercase URLS.


I was wondering if there is any way to automatically redirect uppercase urls to lowercase urls. In the repositories I use for GitHub Pages, the title of the are always lowercase, therefore the URLS are lowercase. If someone enters the URL with capital letters, it’ll just go to a 404 error page. 

Example :

will load but,

will show a 404 error page.

Anyway to redirect uppercase urls?

1 Like

Hi @yangciou,

Thanks for being part of the GitHub Community Forum!

This URL case sensitivity is actually generally true for all web servers, including GitHub Pages. At this time, we don’t offer a feature to automatically redirect uppercase URLs to lowercase ones. 

Please let us know if you have any other questions on this.


1 Like