Skip to main content

AOVIS 部署归档:SEO 调优与索引收口

归档日期:2026-04-14 状态:已部署并完成线上验证 范围:aovis.app 公共页 SEO 元数据、sitemap、robots 与文档页索引策略收口

1. 归档目的

这份记录用于保存本次 SEO 调优发布的完整身份和验证结果,便于后续排查搜索收录、点击率和页面索引策略变化。

本次发布的目标不是重做页面内容,而是:

  • 收敛公开页的 title / canonical / robots 规则
  • 避免搜索引擎索引占位文档页
  • 让 Search Console 更聚焦在有价值的公开入口上

2. 发布身份

  • 仓库:aovis-direct-store
  • 分支:main
  • 发布提交:bc1a9c18a3cf68ef6b94886eafd0e5ac1c98a121
  • 远程:origin/main
  • 部署目标:aovis-store-staging-vm
  • GCP 项目:aovis-site-1

3. 变更摘要

本次发布主要改动包括:

  • app/sitemap.ts
  • app/robots.ts 没有改动,但其现有策略已在发布中继续沿用
  • lib/seo.ts
  • app/support/docs/page.tsx
  • app/support/docs/quick-start/page.tsx
  • app/support/docs/nexa-prime-4k-manual/page.tsx
  • app/support/docs/app-guide/page.tsx
  • app/support/page.tsx
  • app/contact/page.tsx
  • app/terms/page.tsx
  • app/privacy/page.tsx
  • app/returns/page.tsx
  • app/shipping/page.tsx
  • app/legal/terms/page.tsx
  • app/legal/privacy/page.tsx
  • app/legal/dmca/page.tsx
  • app/legal/acceptable-use/page.tsx
  • app/legal/refund-warranty/page.tsx

主要调整点:

  • 新增 NOINDEX_ROBOTS,用于占位文档页
  • /support/docs 作为帮助中心入口进入 sitemap.xml
  • support/docs 下的 3 个 Coming Soon 页面改为 noindex
  • 多个公开页的 title 去掉重复品牌后缀,减少浏览器标题和搜索结果里的重复
  • contact 页补齐 canonical 与公开 robots

4. 高风险路径说明

本次发布触及以下高风险路径:

  • app/sitemap.ts

说明:

  • 这是 SEO 路由高风险项,但未扩展到支付、auth、prisma、admin 或部署基础设施
  • 没有修改 .env.production
  • 没有修改 webhook、checkout 或订单状态逻辑

5. 发布前检查

本次发布前已经完成:

  • 本地构建:npm run build
  • release 预检查:npm run deploy:preflight
  • scope check:npm run deploy:scope-check

6. VM 部署步骤

实际部署路径:

gcloud compute ssh aovis-store-staging-vm --zone us-west1-c --project aovis-site-1 --command 'cd /opt/aovis/aovis-store-staging && git fetch origin && git pull origin main && npm install && npx prisma generate && npm run build && pm2 restart aovis-store-staging --update-env'

执行结果:

  • 成功拉取到发布提交 bc1a9c18a3cf68ef6b94886eafd0e5ac1c98a121
  • npm install 成功
  • npx prisma generate 成功
  • npm run build 成功
  • pm2 restart aovis-store-staging --update-env 成功

7. 线上验证结果

发布后执行:

npm run deploy:verify

验证结果:

  • robots.txt 通过
  • sitemap.xml 通过
  • 首页 / 通过
  • 产品页 /products/nexa-prime-4k 通过
  • 技术页 /technology 通过
  • 服务页 /services 通过
  • FAQ 页 /support/faq 通过

额外的 live 核验也确认:

  • https://aovis.app/robots.txt 返回 200
  • https://aovis.app/sitemap.xml 返回 200
  • 关键公开页的 canonical 指向 https://aovis.app
  • 页面 title / description 存在
  • 主页仍保留 Organization / WebSite schema

总计:

  • 7/7 passed
  • 0 failed

8. 运行状态

当前结论:

  • SEO 调优已完成并上线
  • 工作区已清理干净
  • 发布提交已推送到远端

9. 后续建议

后续如果继续做 SEO 维护,建议优先沿用以下顺序:

  1. 先检查 Search Console 的查询词和曝光页
  2. 再检查公开页的 title / description / canonical 是否重复
  3. 新增内容页前,先决定它是可索引页还是过渡页
  4. 任何新占位页都默认先走 noindex,避免薄内容页误收录