Commit 04de995
feat: 添加 Hexo 旧链接重定向规则
将 /YYYY/MM/DD/slug.html 格式的旧链接 301 重定向到 /posts/slug/
保持 SEO 权重传递,修复 Cloudflare 统计中发现的 404 问题
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a6b7709 commit 04de995
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
0 commit comments