Redirecting uppercase URLS to lowercase URLS.

Hi,

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 :

https://yangciou.com/birthday

will load but,

https://yangciou.com/Birthday

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.

Cheers!

1 Like