indexnow
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSEO Technical: IndexNow
SEO技术:IndexNow
Guides IndexNow protocol integration for faster search engine indexing (primarily Bing).
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
指导集成IndexNow协议以加快搜索引擎(主要是Bing)的索引速度。
调用规则:首次使用时,如果对用户有帮助,可以先用1-2句话介绍本技能涵盖的内容及其作用,再提供核心输出。后续使用或用户要求跳过介绍时,直接输出核心内容即可。
Scope (Technical SEO)
适用范围(技术SEO)
- IndexNow: Submit URLs to Bing/Yandex for faster indexing
- URL notification: Notify search engines of new or updated URLs
- IndexNow:向Bing/Yandex提交URL以加快索引速度
- URL通知:告知搜索引擎有新增或更新的URL
Initial Assessment
初步评估
Check for product marketing context first: If or exists, read it for site URL.
.claude/product-marketing-context.md.cursor/product-marketing-context.mdIdentify:
- Site URL: Base domain
- URL source: Config file, sitemap, CMS, etc.
- Deployment: CI/CD, manual, or both
首先检查产品营销上下文:如果存在或文件,读取文件获取站点URL。
.claude/product-marketing-context.md.cursor/product-marketing-context.md确认以下信息:
- 站点URL:主域名
- URL来源:配置文件、站点地图、CMS等
- 部署方式:CI/CD、手动部署,或两者结合
Overview
概述
IndexNow notifies search engines (mainly Bing) of new or updated URLs to speed up indexing.
IndexNow会将新增或更新的URL告知搜索引擎(主要是Bing),从而加快索引速度。
Implementation Steps
实现步骤
1. API Key and Verification
1. API密钥与验证
- Generate API key (e.g., UUID)
- Create verification file:
https://example.com/{key}.txt - File content: the API key string
- Configure key and URL in your IndexNow client
- 生成API密钥(例如UUID)
- 创建验证文件:
https://example.com/{key}.txt - 文件内容:API密钥字符串本身
- 在你的IndexNow客户端中配置密钥和URL
2. Submission Methods
2. 提交方式
| Method | When to use |
|---|---|
| Single URL | New or updated page |
| Batch | Many URLs at once (e.g., after deploy) |
| Relative paths | Convert to full URLs before submitting |
| 提交方式 | 适用场景 |
|---|---|
| 单URL提交 | 页面新增或更新时 |
| 批量提交 | 一次性提交大量URL(例如部署完成后) |
| 相对路径 | 提交前需转换为完整URL |
3. Best Practices
3. 最佳实践
| Practice | Note |
|---|---|
| When to submit | New pages, major content updates, meta changes |
| When not to | Minor edits; let natural crawling handle |
| Frequency | Once per deploy; avoid excessive submissions |
| Priority | Submit high-value commercial pages first |
| 实践规则 | 注意事项 |
|---|---|
| 提交时机 | 新增页面、内容重大更新、元数据变更时 |
| 不建议提交的场景 | 微小改动;交给自然爬虫处理即可 |
| 提交频率 | 每次部署后提交一次即可;避免过度提交 |
| 优先级 | 优先提交高价值的商业页面 |
4. CI/CD Integration
4. CI/CD集成
bash
npm run build
npm run indexnow:allbash
npm run build
npm run indexnow:all5. Single Source of Truth (URL List)
5. 单一数据源(URL列表)
- Use same config as sitemap: Import URL list from central config (e.g., ) or sitemap generation logic.
site-pages-config.ts - Avoid: Separate hardcoded URL lists for IndexNow—leads to inconsistency and missed URLs.
- Feed: If you have RSS/feed, it can also consume from the same config to stay in sync.
- 使用和站点地图相同的配置:从中央配置(例如)或站点地图生成逻辑中导入URL列表。
site-pages-config.ts - 不建议:为IndexNow单独维护硬编码的URL列表——会导致不一致、遗漏URL。
- Feed:如果你有RSS/feed,也可以从同一个配置中拉取数据保持同步。
Supported Search Engines
支持的搜索引擎
- Bing: Primary support
- Yandex: Supports IndexNow
- Google: Does not use IndexNow; use Sitemap + Search Console
- Bing:主要支持方
- Yandex:支持IndexNow
- Google:不使用IndexNow;请使用站点地图+Search Console提交
Verification
验证方式
- Check Bing Webmaster Tools for indexing status
- Monitor submission logs for errors
- 查看Bing Webmaster Tools了解索引状态
- 监控提交日志排查错误
Common Issues
常见问题
| Issue | Fix |
|---|---|
| Domain verification fails | Ensure URL uses correct domain |
| API key error | Verify key and verification file match |
| Network errors | Retry; API can be intermittent |
| 问题 | 解决方法 |
|---|---|
| 域名验证失败 | 确认URL使用的是正确域名 |
| API密钥错误 | 验证密钥和验证文件内容是否匹配 |
| 网络错误 | 重试;API可能偶尔不稳定 |
Output Format
输出格式
- Setup steps: Key generation, verification file
- Submission flow: Single vs. batch
- Integration: CI/CD or manual script
- References: IndexNow docs
- 设置步骤:密钥生成、验证文件配置
- 提交流程:单URL提交 vs 批量提交
- 集成方案:CI/CD或手动脚本
- 参考资料:IndexNow官方文档
Related Skills
相关技能
- xml-sitemap: Share same URL list from central config
- indexing: Broader indexing strategy
- xml-sitemap:从中央配置共享同一份URL列表
- indexing:更广泛的索引策略