404 There isn't a GitHub Pages site here #22809
-
404There isn’t a GitHub Pages site here. I am getting this error form an already published website when I changed the repository to private and again to public. Please Help. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
You will have to check the enforce HTTPS option available in the manage access tab of your repo settings. |
Beta Was this translation helpful? Give feedback.
-
Hi @imyuvi1234, welcome to the GitHub Support Community! GitHub Pages sites aren’t able to be hosted from private repositories when you’re on the free plan. When you change your repositories visibility settings any Pages sites hosted from this repository will be disabled. To get your site working again you’ll need to make sure your repository is set to public again, head to the repository settings page, make sure that GitHub Pages is enabled, then push a fresh commit to your repository. Doing this will trigger a rebuild of your site and should make your site available after it’s finished rebuilding. |
Beta Was this translation helpful? Give feedback.
-
Sometimes when you fail to pay and your plan is switch to free plan, there are some errors even after you renew your subscription. If you want your site to be published without any further commits this here is what worked for me. Simply make your repository public and then private again. Hope this helps. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I am not able to host https://nyp-fyp-dev.github.io/ReactPolicyMgmt even though I had already published successfully and also in the Github Pages setting it didn't display the homepage of my url. Please help. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, except that my repository is public, not private. The main page, which is the index, loads fine, but when I select another section, I get this error. However, when I compile the code locally in the workspace, everything works correctly. |
Beta Was this translation helpful? Give feedback.
Hi @imyuvi1234, welcome to the GitHub Support Community!
GitHub Pages sites aren’t able to be hosted from private repositories when you’re on the free plan. When you change your repositories visibility settings any Pages sites hosted from this repository will be disabled. To get your site working again you’ll need to make sure your repository is set to public again, head to the repository settings page, make sure that GitHub Pages is enabled, then push a fresh commit to your repository. Doing this will trigger a rebuild of your site and should make your site available after it’s finished rebuilding.