Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
898 views
in Technique[技术] by (71.8m points)

git - Why are Github project document page urls case sensitive? What are the negative effects?

I Just uploaded a sample index.html page for my github project repo gh-pages branch. However it seems the url used to access the documentation is case sensitive. The correct url is as follows,

http://harindaka.github.com/ASPTokenInput/

However if I use the same url in lowercase github displays a page not found message. i.e.

http://harindaka.github.com/asptokeninput/

  1. Why is the URL case sensitive?
  2. Will this negatively affect search engine visibility and browser caching etc.?
  3. What are the disadvantages/advantages of a case sensitive url approach?
  4. Does this mean some other project can have the same name and url in a different case on github? (shivers :-O)

Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you have a personal github page (username.github.io), you can create a folder inside this repository with your project name in lowercase, and inside that folder create an index.html redirecting to original url. As example: https://github.com/MiguelPynto/MiguelPynto.github.io/tree/master/shiftdisplay


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
...