hexo icon indicating copy to clipboard operation
hexo copied to clipboard

上传内容以后页面一直是404?

Open JackieLuo opened this issue 13 years ago • 48 comments

我改好了设置 hexo generate hexo deploy 传到github上的只有.deploy文件夹里的内容,这样是对的吗? 在localhost显示是正常的,传上去就一直404,有人帮我看下吗?谢谢! https://github.com/JackieLuo/JackieLuo

JackieLuo avatar Nov 01 '13 09:11 JackieLuo

github page 规则你建错了....

youxiachai avatar Nov 01 '13 10:11 youxiachai

建一个 repo: username.github.io

例如

https://github.com/youxiachai/youxiachai.github.io

然后访问: https://youxiachai.github.io

youxiachai avatar Nov 01 '13 10:11 youxiachai

原来是这样,我一直以为那个username替换掉就行了,没想到这个名字还包含github.io 多谢!

JackieLuo avatar Nov 01 '13 10:11 JackieLuo

依然是404啊,这个就搞不懂了

JackieLuo avatar Nov 01 '13 10:11 JackieLuo

已经好了,不过超过了15分钟,我以为他真是10分钟以内呢,谢谢啦

JackieLuo avatar Nov 01 '13 10:11 JackieLuo

我已经超过了20分钟。访问还是404.. 这里是我的https://github.com/siberiawolf/siberiawolf.github.io

siberiawolf avatar Mar 24 '14 07:03 siberiawolf

sorry...已经好了耶。

siberiawolf avatar Mar 24 '14 07:03 siberiawolf

after 30 min ,ok

owleg avatar Nov 22 '14 13:11 owleg

此类问题,参考 http://xuanwo.org/2014/08/14/hexo-usual-problem/#Deploy之后,页面长时间404

Xuanwo avatar Nov 23 '14 06:11 Xuanwo

我也遇到了,上传了文件夹,访问url都正确,报 404 原来是我的文件夹名字开头是“_" 下划线。改掉就可以访问。

zmskco avatar Jun 01 '15 10:06 zmskco

@thinkerchan 你的分支错了- -,页面文件要放在master分支

Xuanwo avatar Jun 13 '15 16:06 Xuanwo

@thinkerchan 你要区分个人主页和项目主页的区别= =

Xuanwo avatar Jun 13 '15 17:06 Xuanwo

@thinkerchan yourname.github.io形式的库,会解析master分支;而别的名字的库,会解析gh-pages分支,以yourname.github.io/库名的形式访问。

Xuanwo avatar Jun 13 '15 22:06 Xuanwo

我开始也是提交到gh-pages分支上去,一直不能访问,后来切换到master上就能访问了(将repo默认设置成master,hexo本地deploy里面branch也设置为mater,deploy下),如果yourname.github.io后面再跟上库名访问,感觉怪怪的~~

justinf0rfun avatar Jul 20 '15 15:07 justinf0rfun

同gh-pages 然后切换到master就可以了@JustinLee-Exoplanet

brittyu avatar Aug 09 '15 12:08 brittyu

我创建了sunpingji.github.io repo 在master分支下 过了好久还是404 求解答

sunpingji avatar Aug 10 '15 08:08 sunpingji

@sunpingji 建议你看下http://xuanwo.org/2015/03/26/hexo-intor/

Xuanwo avatar Aug 10 '15 10:08 Xuanwo

@holdlg 原来如此,我也怀疑是这个

我也遇到了,上传了文件夹,访问url都正确,报 404 原来是我的文件夹名字开头是“_" 下划线。改掉就可以访问。

weaming avatar Dec 30 '15 02:12 weaming

https://github.com/GHdeng/GHdeng.github.io 还是404

GHdeng avatar Apr 23 '16 03:04 GHdeng

请教一下,我的上传了半天了还是404,https://github.com/gjBlog/gjBlog

gjBlog1 avatar Aug 26 '16 10:08 gjBlog1