error in github pages #200084
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Based on your description, the root cause of the 404 error is that GitHub Pages is not yet enabled for this repository. 🛠️ The Fix1. Enable GitHub Pages
2. Check the File Name
⏱️ What to do nowChange the branch setting from "None" to your active branch, verify the file name, and allow 2 minutes for the automated deployment to finish. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
Body
Hello everyone,
I am having trouble with GitHub Pages and would appreciate some advice.
I recently created a new public repository and uploaded an HTML file to the root directory of the repository. The file appears correctly on GitHub, and I can open and view it directly from the repository without any problems.
However, whenever I try to access the site through a GitHub Pages URL, I receive a 404 Not Found error. This happens for every Pages URL I have tried.
While checking the repository settings, I noticed that under Settings → Pages, the publishing source does not appear to be configured. The branch selection currently shows "None", and I am not sure whether GitHub Pages has actually been enabled for this repository.
I have successfully created and used a GitHub Pages website in the past, so I am familiar with the basic process. The previous site worked correctly, but this new repository has returned a 404 error from the beginning.
The HTML file is located in the root directory of the repository and is not inside any subfolder. The repository is public, and the file is visible and accessible through the GitHub interface.
I am trying to determine whether:
Has anyone encountered a similar situation? Any suggestions on what I should check or change would be greatly appreciated.
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions