[英]Github Pages throwing 404 'Not Found' Error but Site works when testing index.html file in browser
https://github.com/ndsambare/resumePage.git - Here is the repository that I want to deploy using Github Pages, and here is the website url that is currently throwing the error. https://github.com/ndsambare/resumePage.git - Here is the repository that I want to deploy using Github Pages, and here is the website url that is currently throwing the error.
https://ndsambare.github.io/resumePage/ https://ndsambare.github.io/resumePage/
If you could take a look and let me know why this is happening that would be great.如果您可以看一下并告诉我为什么会发生这种情况,那就太好了。
It works if you access it like this:https://ndsambare.github.io/resumePage/Bootstrap4Resume-master/如果您像这样访问它,它会起作用:https://ndsambare.github.io/resumePage/Bootstrap4Resume-master/
Your entire project is placed inside of Bootstrap4Resume-master
folder which is pointless.您的整个项目都放在
Bootstrap4Resume-master
文件夹中,这是毫无意义的。 Just place it in the root folder.只需将其放在根文件夹中即可。
The link to your website url ishttps://ndsambare.github.io/resumePage/Bootstrap4Resume-master/您网站 url 的链接是https://ndsambare.github.io/resumePage/Bootstrap4Resume-master/
The reason you are getting a 404 error is because there is no index.html file present in your root folder.您收到 404 错误的原因是因为您的根文件夹中没有 index.html 文件。 Your root folder has just the folder "Bootstrap4Resume-master" and a.DS_Store file.
您的根文件夹只有文件夹“Bootstrap4Resume-master”和一个.DS_Store 文件。
A simple way to fix this is:解决此问题的一种简单方法是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.