返回博客

Comma SEO 与网站运维指南

用定时 Loop 审查技术 SEO、元数据和流量变化,借助 PostHog 和搜索数据诊断下滑,并在你的网站仓库里开好可以直接评审的修复。

开始使用

技术 SEO 的回退很少会自己报信:一次重构后某个重定向坏了,翻译页面上丢了 canonical 或 hreflang 标签,新落地页上线时没有 og:image,或者 sitemap 慢慢不同步了。直到三周后自然流量下滑,才有人注意到。

Comma 既有云端电脑上的浏览器 / HTTP 访问能力,又直接连接 GitHub 和 PostHog,所以它能定期审查网站、诊断真实的流量变化,并开出干净的 pull request 修好出问题的地方。

需要连接什么

  • GitHub(Plugins):可以访问你的营销 / 文档网站仓库。

  • PostHog(Plugins / MCP):实时的页面浏览、来源和漏斗遥测数据。

  • 云端电脑:内置无头浏览器和 HTTP 检查,用来抓取线上 URL,核对响应头、重定向和渲染后的元数据。

  • 可选的 MCP / Search Console:如果团队跟踪搜索词展示次数和索引状态,可以通过 MCP 连接 Google Search Console 或分析工具。

四种 SEO 与网站运维工作流

1. 每周技术 SEO 审查 Loop

text
Every Monday at 7:00 AM, crawl our live sitemap URLs on our marketing
site from the cloud computer and check:
- HTTP status codes (flag any 4xx, 5xx, or redirect chains > 1 hop)
- Missing or duplicate <title> and meta descriptions
- Broken canonical or hreflang alternate links across locales
- Missing Open Graph tags or broken images
Only alert me if a regression appears; otherwise log a green check.

2. 调查流量或转化的突然下滑

text
Check PostHog for any landing page whose organic visits or sign-up
CTA clicks dropped more than 20% week-over-week. Cross-check against
PRs merged to the website repo in the last 10 days, inspect the live
rendered page on desktop and mobile, and summarize the likely cause
with evidence.

Comma 不靠看图表猜测,而是把流量下滑直接追溯到最近的部署、失效的重定向或移动端布局 bug。

Comma 桌面应用:一个查找流量下滑的请求,以及一条附有柱状图的回复,图中 /pricing 的自然访问量在一次部署后下降,一个修复正在 Needs Review 中等待审阅。
流量下滑追查到导致它的那次部署,修复已备好待审。

3. 直接在草稿 PR 里修复技术问题

问题确认之后:

text
Fix the three missing canonical URLs and the broken /download redirect
identified in today's audit. Add a Playwright regression test covering
those routes in website/e2e/seo.spec.ts, run the website test suite,
and open a draft PR with the audit summary.

4. 保持多语言版本和结构化数据的整洁

对于多语言的营销网站(比如支持 16 种语言、从 en、zh-CN 到 ja、de 的 comma.surf):

text
Audit our structured data (JSON-LD Organization, FAQ, and article
schemas) and locale alternates across all published routes. Flag any
stale product descriptions, broken internal links, or untranslated
keys, and group fixes into one reviewable PR.

网站运维的护栏

  • 绝不直接推到生产环境:合并之前,始终先开一个草稿 PR,并通过构建、lint 和端到端 SEO 检查(seo.spec.ts / 链接检查)。

  • 部署后核实线上:每个合并的网站 PR 都配一次针对线上生产 URL 的部署后快速检查(状态码、渲染后的 meta 标签和移动端截图),而不是默认构建通过就等于线上一致。

  • 完整汇报数据:让 Comma 列出检查的页面总数、通过数和回退数,同时给出绝对数量和百分比,绝不隐瞒持平或变差的结果。


Try Comma, Now.

开始使用