How to Remove the File Extension From the URL on Github Pages

How to Remove the File Extension From the URL on Github Pages

Kenny Yip Coding

1 год назад

24,341 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sidd
Sidd - 03.11.2023 13:17

yes this works. however if you have an image on about html it wont be displayed. let me know if works.

Ответить
Brian Gawlik Music
Brian Gawlik Music - 11.10.2023 00:46

thank you!

Ответить
Kristian Campos
Kristian Campos - 16.09.2023 08:28

If i store my html files in a folder without index in it, is there a way to get ride of the /pages extension in the url as well? or is it best practice to have all html files in one folder together?

Ответить
Lynxmountain
Lynxmountain - 15.09.2023 20:17

thanks, works :)

Ответить
李昱慧
李昱慧 - 04.09.2023 09:51

非常感謝您,幫助我解決了難題,真的非常感謝

Ответить
Ifiok Edemidiong
Ifiok Edemidiong - 29.08.2023 20:17

does not work

Ответить
ankiii
ankiii - 30.06.2023 06:41

Does big companies use the same way?

Ответить
Lets get to 1mill without vids
Lets get to 1mill without vids - 04.06.2023 16:31

Thank you it works it didn't work at first but I think it was still cached.
Now how do I make it work on both GitHub pages and any web host as well as local host live server

Ответить
Sugenthiren Prashanth
Sugenthiren Prashanth - 27.05.2023 07:41

Straightforward man. This helped.

Ответить
P
P - 09.04.2023 02:04

Thank you for this! I spent hours researching how to fix this with htaccess and this is the only thing that worked. And it was so simple

Ответить
grantpichla
grantpichla - 01.02.2023 05:34

You are straight to the point and my hero. Thank you.

Ответить
anion llc
anion llc - 12.10.2022 17:19

thanks man

Ответить
Jamaica Igot
Jamaica Igot - 11.09.2022 18:29

Hey, thanks for sharing! Helps me a lot! Are you in audea?

Ответить
eli barber
eli barber - 08.09.2022 22:10

That's awesome! any Idea how to fix it locally as well? Its nice to be able to see the github pages I am working on locally before I push the changes to github

Ответить
Wu Jeonghyun
Wu Jeonghyun - 17.08.2022 06:13

Thank you! This help me fix the problem :)

Ответить
Lavinia Marcu
Lavinia Marcu - 23.06.2022 10:58

Hi Kenny, what's the best way to reach you to discuss about a potential paid collaboration. Thank you

Ответить