Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 11 of 21

Re: my github page doesn't redirect to index.html

My index.html is in a folder "src", so my Github page is not correct, but I can't move the index.html from the folder to the root

(I made a topic for this but no answer yet)

Highlighted
Mission Specialist Lvl 1
Message 12 of 21

Re: my github page doesn't redirect to index.html

this is right, even at the time of this writing (year 2020).

Highlighted
Ground Controller Lvl 1
Message 13 of 21

Re: my github page doesn't redirect to index.html

I've got the same problem - https://suwebdev.github.io/user-science-blog/ doesn't work, but https://suwebdev.github.io/user-science-blog/index.html does

 

Tested on chrome and  safari.

 

I tried clearing cookies.

 

Rebecca

Highlighted
Moderator
Message 14 of 21

Re: my github page doesn't redirect to index.html

Hi @rebeccapeltz,

 

I just took a look and both of those URLs appear to be working for me. Are you still experiencing this issue?

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Highlighted
Ground Controller Lvl 1
Message 15 of 21

Re: my github page doesn't redirect to index.html

Your problem might be because there is also a Readme.md file present. Try to delete .md file and verify

Highlighted
Ground Controller Lvl 1
Message 16 of 21

Re: my github page doesn't redirect to index.html

@shahzadadil  this fixed it for me; thanks! 

Highlighted
Ground Controller Lvl 1
Message 17 of 21

Re: my github page doesn't redirect to index.html

Renamed `readme.md` to `README.md` which fixed the issue. 

I had `index.html` in the root of my repository which Github pages wasn't redirecting to. (`x.github.io/page` didn't work, `x.github.io/page/index.html` worked)

Highlighted
Ground Controller Lvl 2
Message 18 of 21

Re: my github page doesn't redirect to index.html

deleting Readme.md worked well, thank you so much :) 

Highlighted
Copilot Lvl 2
Message 19 of 21

Re: my github page doesn't redirect to index.html

I too had faced this problem...

 

There are multiple files in my plain html, css & javascript repo. obviously, thers is  index.html. but, along with that, i named my main js file as "index.js". So, it didn't open index.html by default until i changed my js file name to something other than index.

Highlighted
Mission Specialist Lvl 3
Message 20 of 21

Re: my github page doesn't redirect to index.html

may beThe problem due to there was an extra space after index

which was suppose to be index.html.