eventiva/craft-indexnow 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eventiva/craft-indexnow

Composer 安装命令:

composer require eventiva/craft-indexnow

包简介

IndexNow integration for Craft CMS – automatically notifies search engines of content changes when entries are saved or deleted.

README 文档

README

Instantly notify search engines whenever your content changes. IndexNow is an open protocol that lets you push URL change notifications directly to search engines — no more waiting days for crawlers to discover your updates.

Why IndexNow?

Search engines traditionally discover content changes by periodically crawling your site. With IndexNow, you flip that model: as soon as an entry is published, updated, or deleted in Craft, search engines are notified immediately. This means faster indexing, more accurate search results, and less unnecessary crawl traffic on your server.

IndexNow is supported by Bing, Yandex, Seznam, and the shared IndexNow API — one submission reaches them all.

Features

Automatic Submission

The plugin listens for Craft entry save and delete events. Whenever a live entry with a public URL is changed, its URL is automatically queued and submitted — no manual action required.

Two Submission Modes

  • Immediate: URLs are sent to the search engine the moment an entry is saved. Ideal for sites with real-time content requirements.
  • Queued: Changed URLs accumulate in a queue and are submitted in a single batch via a scheduled cron job. Ideal for high-volume sites or when you want to minimize API calls.

Manual Actions

The control panel gives you full manual control at any time:

  • Submit the current pending queue
  • Submit every live page on your site in one go
  • Clear the queue or the submission log

API Key Management

Generate a cryptographically secure API key directly from the control panel. The plugin automatically creates the required verification file (e.g. abc123.txt) in your web root — no FTP, no manual file management.

Submission Log

Every submission is recorded with timestamp, HTTP status code, URL count, and any error details. The log holds the last 50 entries and is visible directly in the control panel.

Console Commands

Automate submissions from your server's cron scheduler:

# Submit pending URLs
php craft indexnow/submit

# Submit all live pages
php craft indexnow/submit/all

Multi-Engine Support

Choose your preferred endpoint:

  • api.indexnow.org (recommended — reaches all participating engines)
  • www.bing.com
  • yandex.com
  • search.seznam.cz

Fully Translated

Ships with English and German translations out of the box. All control panel strings use Craft's translation system, so adding further languages is straightforward.

Requirements

  • Craft CMS 5.7.0 or later
  • PHP 8.2 or later
  • cURL extension enabled

Setup

  1. Install the plugin via the Craft Plugin Store or Composer.
  2. Go to IndexNow in the Craft control panel.
  3. Click Generate new key — the plugin creates the API key and the required verification file in your web root automatically.
  4. Enable the plugin and choose your submission mode (immediate or queued).
  5. If using queued mode, add the cron command shown in the settings to your server's crontab.

That's it. Every content change from this point on will be reported to search engines automatically.

Cron Example

# Submit pending IndexNow URLs every day at 3:00 AM
0 3 * * * php /var/www/html/craft indexnow/submit

Supported Search Engines

Engine Supported via IndexNow
Bing / Microsoft
Yandex
Seznam
Google Participation announced, check google.com/indexnow for current status

License

This plugin requires a paid license. Licenses are managed through the Craft Plugin Store.

eventiva/craft-indexnow 适用场景与选型建议

eventiva/craft-indexnow 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 11 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「cms」 「seo」 「bing」 「search-engine」 「yandex」 「indexing」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 eventiva/craft-indexnow 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 eventiva/craft-indexnow 我们能提供哪些服务?
定制开发 / 二次开发

基于 eventiva/craft-indexnow 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 30
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: craft
  • 更新时间: 2026-03-11