老模板优化

This commit is contained in:
Your Name
2026-04-17 21:09:06 +08:00
parent 4dc78e3366
commit c8fb6956ef
60 changed files with 9113 additions and 146 deletions

View File

@@ -0,0 +1,190 @@
# 1293-SEONexus 老模板第一批施工索引页 - 2026-04-17
## 目的
这份文档是给主 Codex、后续会话、或人工接手时使用的“一页开工入口”。
它不重复长篇分析,只做三件事:
1. 告诉你先看哪几份文档
2. 告诉你第一批到底改哪 15 个文件
3. 告诉你改完先验哪些域名和哪些指标
## 一、先看这 4 份就够开工
如果现在要正式进入老模板第一批 SEO 实施,只看下面 4 份:
1. [21-老模板实施安全边界与GPT隔离说明-2026-04-17.md](/www/wwwroot/VideoSource2/docs/old-tmp-seo/21-老模板实施安全边界与GPT隔离说明-2026-04-17.md)
2. [20-老模板第一批SEO高收益修正清单-2026-04-17.md](/www/wwwroot/VideoSource2/docs/old-tmp-seo/20-老模板第一批SEO高收益修正清单-2026-04-17.md)
3. [22-老模板第一批实施任务单与验收矩阵-2026-04-17.md](/www/wwwroot/VideoSource2/docs/old-tmp-seo/22-老模板第一批实施任务单与验收矩阵-2026-04-17.md)
4. [23-老模板逐文件改动蓝图-2026-04-17.md](/www/wwwroot/VideoSource2/docs/old-tmp-seo/23-老模板逐文件改动蓝图-2026-04-17.md)
它们分别解决:
- 改动边界
- 优先级
- 实施顺序与验收方式
- 逐文件改法
## 二、第一批只改这 15 个文件
本批次不扩散,不自由发挥,只改下面 15 个文件。
### 1. 分类页 5 个
- [videoDadi/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getCategoryType.html:15)
- [videoDingZhu/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getCategoryType.html:15)
- [videoBoKu/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getCategoryType.html:15)
- [videoLaoNiu/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getCategoryType.html:15)
- [videoNuNu/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getCategoryType.html:15)
### 2. 播放页 5 个
- [videoDadi/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getVideoPlayUrl.html:22)
- [videoDingZhu/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getVideoPlayUrl.html:22)
- [videoBoKu/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getVideoPlayUrl.html:22)
- [videoLaoNiu/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getVideoPlayUrl.html:22)
- [videoNuNu/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getVideoPlayUrl.html:22)
### 3. sitemap-main 5 个
- [videoDadi/sitemap-main.xml](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/sitemap/sitemap-main.xml:1)
- [videoDingZhu/sitemap-main.xml](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/sitemap/sitemap-main.xml:1)
- [videoBoKu/sitemap-main.xml](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/sitemap/sitemap-main.xml:1)
- [videoLaoNiu/sitemap-main.xml](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/sitemap/sitemap-main.xml:1)
- [videoNuNu/sitemap-main.xml](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/sitemap/sitemap-main.xml:1)
## 三、这 15 个文件分别要做什么
### 分类页 5 个
统一目标:
- 增加 canonical
-`og:url` 从首页改成分类页真实 URL
-`CollectionPage.url` 从首页改成分类页真实 URL
参考模板:
- [videoGpt1/getCategoryType.html](/www/wwwroot/VideoSource2/code/app/home/view/videoGpt1/video/getCategoryType.html:13)
### 播放页 5 个
统一目标:
- canonical、`og:url`、JSON-LD `url` 三件套全部统一到播放页 URL
当前策略:
- 第一批先采用保守收口方案
- 不追求一步做到“当前线路当前集数完全精确”
- 先让信号一致,先压 `play|301`
参考模板:
- [videoGpt1/getVideoPlayUrl.html](/www/wwwroot/VideoSource2/code/app/home/view/videoGpt1/video/getVideoPlayUrl.html:113)
### sitemap-main 5 个
统一目标:
- 先把 `www` 口径收掉
- 先把明显错误的 `novel:category / site:nflurl` 逻辑去掉
- 第一批先收缩为最小正确集,不急着一步重建完美视频 sitemap
## 四、推荐施工顺序
施工顺序不要乱,固定按这三段:
1. 先改 5 个分类页
2. 再改 5 个播放页
3. 最后改 5 个 sitemap-main
理由:
- 分类页收益最容易扩散到站群
- 播放页收益最容易体现在深抓
- sitemap 最后改,更方便归因首页与 host 变化
## 五、每一段改完先验什么
### 改完分类页后
先验页面:
- 分类页源代码里有没有 canonical
- canonical 是否是分类页真实 URL
- `og:url` 是否是分类页真实 URL
- `CollectionPage.url` 是否是分类页真实 URL
先验域名:
- `ningxiaowei.com`
- `www.ningxiaowei.com`
- `sctyjz.com`
- `www.ap-hulan.com`
### 改完播放页后
先验页面:
- canonical 是否存在
- `og:url` 是否与 canonical 一致
- JSON-LD `url` 是否与 canonical 一致
先验域名:
- `yagyjt.com`
- `ningxiaowei.com`
### 改完 sitemap-main 后
先验页面:
- XML 是否正常
- host 是否与模板主输出一致
- 是否还残留 `novel`/`nflurl` 逻辑
先验域名:
- `sctyjz.com`
- `hymdrz.com`
- `www.ap-hulan.com`
## 六、日志里优先看这 6 个指标
第一批改完,不要贪多,每天先盯这 6 项:
1. `/|301`
2. `home|301`
3. `category|200`
4. `play|301`
5. `play|200`
6. `other|404`
如果这 6 个指标开始朝对的方向走,说明第一批动作在起作用。
## 七、失败时先查什么
如果改完后日志没改善,或者反而变差,优先回查:
1. 分类页 canonical 是否写错成首页
2. 播放页三件套是否仍然一半详情页一半播放页
3. sitemap-main 是否还在输出错误 host
4. 是否误伤了老模板原本还能承接旧 deep link 的链路
## 八、明确不做的事
第一批不要顺手做下面这些:
- 不改 `videoGpt1`
- 不改共享底层服务
- 不做首页大改版
- 不做逐站后台手工 SEO
- 不做内容文案大规模回灌
不是这些不重要,而是它们不属于当前第一批“高收益、低扩散、易归因”的实施范围。
## 一句话交接
> 如果现在主 Codex 要正式开工,直接从这 15 个文件开始,按“分类页 5 个 -> 播放页 5 个 -> sitemap-main 5 个”的顺序施工,改完立刻按重点域名和 6 个核心日志指标复测,不要扩散到 GPT 模板和共享底层。