You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I think there is no right way to solve this problem. "GitHub Pages" only supports static sites. To properly implement this issue, the website needs to be dynamic, In general, I found an interesting idea by searching(link).
here when the user receives a 404 page a JavaScript code:
redirects the page to the same address but in lower case. Since I think you don't intend to change the current addresses and make them lower case, we can add a script to the site generator workflow to generate something similar to a dictionary where the keys are the site addresses in lower case and the values be the main addresses.
for example:
Then changes must be made in the JavaScript code so that the address entered by the user in lowercase letters is used as the key and the user is redirected to the address of the key value.
I'm not a javascript developer but I think I can implement this. If you agree with this method, let me know.
e.g.
https://wikicensorship.github.io/fa/docs/measure-internet-censorship/network/ to https://wikicensorship.github.io/fa/docs/measure-internet-censorship/Network/
The text was updated successfully, but these errors were encountered: