【问题标题】:404 Error on all github pages except for index.html (no underscores)除 index.html 之外的所有 github 页面上都出现 404 错误(无下划线)
【发布时间】:2018-12-19 20:45:53
【问题描述】:

我在除主页 index.html 页面之外的每个页面上都遇到 404 错误。有任何想法吗?

这是我的 GitHub 存储库:“https://github.com/lfalisse/Home

我一直在通过其他海报寻找解决方案,但与 (Github Pages 404 for everything but index.html) 不同的是,我的文件名中没有任何下划线。

【问题讨论】:

    标签: github http-status-code-404


    【解决方案1】:

    这取决于您实际用于测试这些页面的 URL。

    对于普通的 GitHub 存储库,您可以将其发布为 project page site: http(s)://<username>.github.io/<projectname>

    在你的情况下:

    https://lfalisse.github.io/Home/

    您可以看到https://lfalisse.github.io/Home/Poster/Poster.html 没有返回 404:它实际上是可访问的。

    【讨论】:

      猜你喜欢
      • 2018-08-07
      • 2020-10-19
      • 2022-10-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-04
      • 2016-06-07
      • 2020-05-13
      相关资源
      最近更新 更多