Files
SEONexus/docs/old-tmp-seo/22-老模板第一批实施任务单与验收矩阵-2026-04-17.md
2026-04-17 21:09:06 +08:00

322 lines
11 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 1291-SEONexus 老模板第一批实施任务单与验收矩阵 - 2026-04-17
## 目的
这份文档把当前老模板第一批 SEO 修正,从“分析结论”继续推进到“可直接施工”的层级。
它回答 4 个问题:
1. 具体改哪些文件
2. 每个文件改什么
3. 改完先看哪些域名
4. 怎么判断这批改动是有效还是无效
## 一、第一批实施范围
本批次只处理老模板 5 套:
- `videoDadi`
- `videoDingZhu`
- `videoBoKu`
- `videoLaoNiu`
- `videoNuNu`
只改下面 3 类文件:
1. `video/getCategoryType.html`
2. `video/getVideoPlayUrl.html`
3. `sitemap/sitemap-main.xml`
`robots.txt` 这次先只复核,不作为第一刀主改动。
原因:
- 当前 `robots.txt` 已经统一指向裸域 `sitemap_index.xml`
- 真正更急的矛盾出在分类页、播放页、sitemap-main 的输出口径
## 二、任务 1修分类页 `getCategoryType.html`
### 目标
让分类页从“看起来像首页”变成“明确就是分类页”。
### 当前问题
5 套模板都存在:
- `og:url = https://{$DomainModel->d_domain}`
- `CollectionPage.url = https://{$DomainModel->d_domain}`
对应位置:
- `videoDadi`:
- [getCategoryType.html:19](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getCategoryType.html:19)
- [getCategoryType.html:48](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getCategoryType.html:48)
- `videoDingZhu`:
- [getCategoryType.html:19](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getCategoryType.html:19)
- [getCategoryType.html:48](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getCategoryType.html:48)
- `videoBoKu`:
- [getCategoryType.html:19](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getCategoryType.html:19)
- [getCategoryType.html:48](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getCategoryType.html:48)
- `videoLaoNiu`:
- [getCategoryType.html:19](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getCategoryType.html:19)
- [getCategoryType.html:48](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getCategoryType.html:48)
- `videoNuNu`:
- [getCategoryType.html:19](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getCategoryType.html:19)
- [getCategoryType.html:48](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getCategoryType.html:48)
### 建议改法
统一增加一个分类页真实 URL 变量,然后三处统一引用:
1. canonical
2. `og:url`
3. `CollectionPage.url`
建议目标写法参考 `videoGpt1`
- [videoGpt1/getCategoryType.html:14](/www/wwwroot/VideoSource2/code/app/home/view/videoGpt1/video/getCategoryType.html:14)
- [videoGpt1/getCategoryType.html:18](/www/wwwroot/VideoSource2/code/app/home/view/videoGpt1/video/getCategoryType.html:18)
- [videoGpt1/getCategoryType.html:42](/www/wwwroot/VideoSource2/code/app/home/view/videoGpt1/video/getCategoryType.html:42)
### 预期效果
最值得观察的不是“页面能打开”,而是:
- `category|200` 是否开始增加
- 首页和分类页的规范信号是否不再打架
### 重点验收域名
- `ningxiaowei.com / www.ningxiaowei.com`
- `sctyjz.com / www.sctyjz.com`
- `www.ap-hulan.com`
## 三、任务 2修播放页 `getVideoPlayUrl.html`
### 目标
让播放页三件套一致:
- canonical
- `og:url`
- JSON-LD `url`
### 当前问题
5 套模板共同表现是:
- canonical 指向播放页
- `og:url` 指向详情页
- JSON-LD `url` 指向详情页
对应位置:
- `videoDadi`:
- [getVideoPlayUrl.html:46](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getVideoPlayUrl.html:46)
- [getVideoPlayUrl.html:58](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getVideoPlayUrl.html:58)
- [getVideoPlayUrl.html:71](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/video/getVideoPlayUrl.html:71)
- `videoDingZhu`:
- [getVideoPlayUrl.html:46](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getVideoPlayUrl.html:46)
- [getVideoPlayUrl.html:59](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getVideoPlayUrl.html:59)
- [getVideoPlayUrl.html:72](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/video/getVideoPlayUrl.html:72)
- `videoBoKu`:
- [getVideoPlayUrl.html:46](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getVideoPlayUrl.html:46)
- [getVideoPlayUrl.html:59](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getVideoPlayUrl.html:59)
- [getVideoPlayUrl.html:72](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/video/getVideoPlayUrl.html:72)
- `videoLaoNiu`:
- [getVideoPlayUrl.html:46](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getVideoPlayUrl.html:46)
- [getVideoPlayUrl.html:59](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getVideoPlayUrl.html:59)
- [getVideoPlayUrl.html:73](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/video/getVideoPlayUrl.html:73)
- `videoNuNu`:
- [getVideoPlayUrl.html:46](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getVideoPlayUrl.html:46)
- [getVideoPlayUrl.html:59](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getVideoPlayUrl.html:59)
- [getVideoPlayUrl.html:73](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/video/getVideoPlayUrl.html:73)
### 建议改法
统一定义播放页真实 URL并让
1. canonical 指向它
2. `og:url` 指向它
3. JSON-LD `url` 指向它
注意:
- 不要只修 canonical
- 只修 canonical 不足以解决百度对播放页的规范判断
### 预期效果
最值得观察的是:
- `play|301` 是否下降
- `play|200` 是否更稳
### 重点验收域名
- `yagyjt.com`
- `ningxiaowei.com / www.ningxiaowei.com`
## 四、任务 3修 `sitemap-main.xml`
### 目标
让 sitemap 自己不再制造 host 混乱和错误页型。
### 当前问题
5 套模板共同存在:
- 使用 `https://www.{$DomainModel->d_domain}`
- 使用 `novel:category`
- 使用 `site:nflurl`
对应位置:
- `videoDadi`:
- [sitemap-main.xml:4](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/sitemap/sitemap-main.xml:4)
- [sitemap-main.xml:18](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/sitemap/sitemap-main.xml:18)
- [sitemap-main.xml:24](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/sitemap/sitemap-main.xml:24)
- `videoDingZhu`:
- [sitemap-main.xml:4](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/sitemap/sitemap-main.xml:4)
- [sitemap-main.xml:18](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/sitemap/sitemap-main.xml:18)
- [sitemap-main.xml:24](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/sitemap/sitemap-main.xml:24)
- `videoBoKu`:
- [sitemap-main.xml:4](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/sitemap/sitemap-main.xml:4)
- [sitemap-main.xml:18](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/sitemap/sitemap-main.xml:18)
- [sitemap-main.xml:24](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/sitemap/sitemap-main.xml:24)
- `videoLaoNiu`:
- [sitemap-main.xml:4](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/sitemap/sitemap-main.xml:4)
- [sitemap-main.xml:18](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/sitemap/sitemap-main.xml:18)
- [sitemap-main.xml:24](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/sitemap/sitemap-main.xml:24)
- `videoNuNu`:
- [sitemap-main.xml:4](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/sitemap/sitemap-main.xml:4)
- [sitemap-main.xml:18](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/sitemap/sitemap-main.xml:18)
- [sitemap-main.xml:24](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/sitemap/sitemap-main.xml:24)
### 建议改法
第一批不要求把 sitemap 一次做成最终完美版,但至少要先做到:
1. host 口径与当前模板主输出一致
2. 不再继续输出明显像小说站的路径
3. 首页和主要聚合入口不再强制走 `www`
如果主 Codex 发现 `sitemap-main.xml` 当前其实线上没有被主路由使用,也不要直接忽略。
因为只要它还可能被 `sitemap_index.xml` 引用或被蜘蛛命中,它就仍然会制造噪音。
### 预期效果
最值得观察的是:
- `/|301` 是否下降
- `home|301` 是否下降
- host 级分裂是否减轻
### 重点验收域名
- `sctyjz.com / www.sctyjz.com`
- `www.ap-hulan.com`
- `hymdrz.com / www.hymdrz.com`
## 五、本批次先不主改 `robots.txt`
### 当前结论
5 套 `robots.txt` 当前至少有两点是统一的:
- 允许主搜索爬虫
- sitemap 已指向裸域 `https://{$DomainModel->d_domain}/sitemap_index.xml`
位置:
- [videoDadi/robots.txt:38](/www/wwwroot/VideoSource2/code/app/home/view/videoDadi/sitemap/robots.txt:38)
- [videoDingZhu/robots.txt:38](/www/wwwroot/VideoSource2/code/app/home/view/videoDingZhu/sitemap/robots.txt:38)
- [videoBoKu/robots.txt:38](/www/wwwroot/VideoSource2/code/app/home/view/videoBoKu/sitemap/robots.txt:38)
- [videoLaoNiu/robots.txt:38](/www/wwwroot/VideoSource2/code/app/home/view/videoLaoNiu/sitemap/robots.txt:38)
- [videoNuNu/robots.txt:38](/www/wwwroot/VideoSource2/code/app/home/view/videoNuNu/sitemap/robots.txt:38)
### 当前建议
本批次先不优先修改 `robots.txt`,除非主 Codex 复核时发现:
- `robots.txt` 与真实 sitemap 路由不一致
-`robots.txt` 的 AI 爬虫屏蔽策略影响到了实际搜索引擎主抓取
## 六、推荐实施顺序
最稳顺序:
1. 先改 5 套 `getCategoryType.html`
2. 再改 5 套 `getVideoPlayUrl.html`
3. 最后改 5 套 `sitemap-main.xml`
原因:
- 分类页修正对聚合层收益最大
- 播放页修正对深抓层收益最大
- sitemap 修正对整体 host 规范化收益最大
## 七、实施后验收矩阵
### 第 1 轮:页面级验收
分类页验收:
- 页面能正常打开
- canonical 指向分类页自己
- `og:url` 指向分类页自己
- `CollectionPage.url` 指向分类页自己
播放页验收:
- 页面能正常打开
- canonical 指向播放页自己
- `og:url` 指向播放页自己
- JSON-LD `url` 指向播放页自己
sitemap 验收:
- `sitemap-main.xml` 返回正常
- 输出 host 与页面主输出口径一致
- 不再出现明显小说站路径
### 第 2 轮:日志级验收
实施后连续看 3 天:
1. `/|301` 是否下降
2. `home|301` 是否下降
3. `category|200` 是否增加
4. `play|301` 是否下降
5. `play|200` 是否稳住或增加
### 第 3 轮:搜索表现验收
实施后 3 到 7 天,重点看:
- 站名词是否更稳定
- 分类词是否开始出现首页或前两页曝光
- 片名长尾和播放词是否更容易命中播放页
## 八、失败信号
如果实施后出现下面任一情况,要立刻回看:
1. `404` 突然增加
2. `detail|200 / play|200` 明显掉量
3. `category` 信号没有上升,反而首页抓取下降
4. sitemap 输出开始异常
这通常说明:
- URL 收口写错了
- 页面真实路由和模板输出不一致
- 或者把原本的兼容链路误伤了
## 一句话交接
> 老模板第一批施工,最稳的做法就是先改 15 个文件5 套分类页、5 套播放页、5 套 sitemap-main按“分类页先收口、播放页再收口、sitemap 最后收口”的顺序推进,边改边看重点域名日志,避免一次性大改失去归因。