hasany
hasany

Reputation: 164

Github not detecting an inner index.html

I'm publishing my own profile site on github on https://yilmazhasan.github.io/pwp

It was working before some changes, now it gives 404 for https://yilmazhasan.github.io/pwp/src/index.html although there is an index.html file.

I'm redirecting pwp/index.html to pwp/src/index.html, it sees first one but not second one.

Since it is public, they can be seen on https://github.com/yilmazhasan/pwp

What can be caused to this?

(Note: It works on localhost)

Upvotes: 1

Views: 26

Answers (1)

VonC
VonC

Reputation: 1328602

Even without redirecting pwp/index.html to pwp/src/index.html, you could simply change your publication folder to src, as seen here (for the docs folder, but the same idea applies)

https://docs.github.com/assets/images/help/pages/publishing-source-folder-drop-down.png

Upvotes: 1

Related Questions