Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义页面之间不发生跳转以及 about 页面再刷新404 bug #178

Closed
wjl110 opened this issue Mar 12, 2022 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@wjl110
Copy link

wjl110 commented Mar 12, 2022

自定义页面之间不发生跳转以及 about 页面再刷新404 bug

@gitkraken-boards gitkraken-boards bot added the bug Something isn't working label Mar 12, 2022
@bennyxguo
Copy link
Member

Duplicate of #185

@bennyxguo bennyxguo marked this as a duplicate of #185 Apr 14, 2022
@wjl110
Copy link
Author

wjl110 commented Apr 14, 2022

thanks @bennyxguo

@wjl110
Copy link
Author

wjl110 commented Apr 14, 2022

permalink 配置了也会发生错误

@idnewnil
Copy link

about页面刷新的确会404,因为about页面实际上位于/page/about/index.html,但在浏览器刷新时会获取/about页面,所以不存在。可以尝试使用HTTP服务器进行重写,如果你用的是Caddy,那么可以加入以下语句。

@blog_about {
  host 博客域名
  path /about
}
rewrite @blog_about /page/about/index.html

@fffmath
Copy link

fffmath commented Aug 5, 2023

提供一个vercel的方案:
include: 'vercel.json' exclude: ignore: && skip_render: 'vercel.json'

@TajangSec
Copy link

include: 'vercel.json' exclude: ignore: && skip_render: 'vercel.json'

这句写哪里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants