neo-digital / contao-indexnow-bundle
IndexNow for Contao 5: tells Bing, Yandex, Seznam, Naver and Yep within minutes which pages, news and events were published, changed or removed. Key and domains in the back end, key file served automatically, queue with retry, full submission of all URLs, connection check and a log.
Package info
github.com/NEO-Digital-AT/contao-indexnow-bundle
Type:contao-bundle
pkg:composer/neo-digital/contao-indexnow-bundle
Requires
- php: ^8.2
- contao/core-bundle: ^5.3
- doctrine/dbal: ^3.6 || ^4.0
- psr/log: ^1.1 || ^2.0 || ^3.0
- symfony/config: ^6.4 || ^7.0
- symfony/console: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/http-client: ^6.4 || ^7.0
- symfony/http-client-contracts: ^3.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/lock: ^6.4 || ^7.0
- symfony/routing: ^6.4 || ^7.0
Requires (Dev)
- ext-pdo_sqlite: *
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^10.5 || ^11.5
Suggests
- contao/calendar-bundle: Events are announced when they are published, changed or removed
- contao/news-bundle: News articles are announced when they are published, changed or removed
Provides
None
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
Replaces
None
This package is auto-updated.
Last update: 2026-11-28 17:39:10 UTC
README
Tells search engines within minutes which pages, news articles and events of a Contao 5 website were published, changed or removed, using the IndexNow protocol. IndexNow is supported by Bing, Yandex, Seznam, Naver and Yep; a submission to one of them is shared with all the others. Google does not take part and keeps reading the sitemap.
Features
- Key and domains in the back end (System › IndexNow); a random key is created on first use.
- The key file
https://<domain>/<key>.txtis served by Contao, only on the domains switched on. - Changes saved in the back end (pages, articles, content elements, news articles, events) are announced right after the request; start and stop dates ("Show from", "Show until") are announced by the cron job when they are reached. There is no regular full resubmission.
- Website roots without a domain name are announced under the address of the back end, or under the website address set in the settings, for a back end on another domain than the website (for example a subdomain).
- Only public addresses; addresses that stop being public are announced too, so the search engine drops them.
- "Send all addresses" and
indexnow:submit --all: every address of the domains switched on, as in the sitemap. - "Check connection" fetches the key file of every domain from outside; a log shows every request and its answer.
- Back end in eleven languages.
Requirements
- Contao 5.3 or newer, PHP 8.2 or newer
- Contao's cron job, for start and stop dates and retries (changes saved in the back end are sent without it)
- Optional: Contao's news and calendar bundles, for news articles and events
Installation
Contao Manager
Search for neo-digital/contao-indexnow-bundle, install it, then run the database update.
Composer
composer require neo-digital/contao-indexnow-bundle php vendor/bin/contao-console contao:migrate
Then set it up in System › IndexNow.
Documentation
The full documentation is in docs/en/README.md: Installation (including the key file on the web server), Setup, Permissions, User manual, Privacy, Troubleshooting.
License
MIT, see LICENSE.
IndexNow für Contao (Deutsch)
Meldet Suchmaschinen innerhalb von Minuten, welche Seiten, Nachrichten und Events einer Contao-5-Website veröffentlicht, geändert oder entfernt wurden, über das Protokoll IndexNow. IndexNow wird von Bing, Yandex, Seznam, Naver und Yep unterstützt; eine Meldung an eine von ihnen wird mit allen anderen geteilt. Google nimmt nicht teil und liest weiter die Sitemap.
Funktionen
- Schlüssel und Domains im Backend (System › IndexNow); beim ersten Öffnen wird ein zufälliger Schlüssel erzeugt.
- Die Schlüsseldatei
https://<domain>/<schlüssel>.txtliefert Contao aus, nur auf den eingeschalteten Domains. - Im Backend gespeicherte Änderungen (Seiten, Artikel, Inhaltselemente, Nachrichten, Events) gehen gleich nach der Anfrage hinaus; Start- und Enddaten („Anzeigen ab“, „Anzeigen bis“) meldet der Cronjob, sobald sie erreicht sind. Eine regelmäßige Komplettmeldung gibt es nicht.
- Startpunkte ohne Domainnamen werden unter der Adresse des Backends gemeldet, oder unter der Adresse der Website aus den Einstellungen, wenn das Backend auf einer anderen Domain läuft als die Website (zum Beispiel einer Subdomain).
- Nur öffentliche Adressen; Adressen, die nicht mehr öffentlich sind, werden ebenfalls gemeldet, damit die Suchmaschine sie entfernt.
- „Alle Adressen senden“ und
indexnow:submit --all: jede Adresse der eingeschalteten Domains, wie in der Sitemap. - „Verbindung prüfen“ ruft die Schlüsseldatei jeder Domain von außen ab; ein Protokoll zeigt jede Anfrage und ihre Antwort.
- Backend in elf Sprachen.
Voraussetzungen
- Contao 5.3 oder neuer, PHP 8.2 oder neuer
- Contaos Cronjob, für Start- und Enddaten und erneute Versuche (im Backend gespeicherte Änderungen gehen ohne ihn hinaus)
- Optional: Contaos Nachrichten- und Kalender-Bundle, für Nachrichten und Events
Installation
Contao Manager
Nach neo-digital/contao-indexnow-bundle suchen, installieren, dann das Datenbank-Update ausführen.
Composer
composer require neo-digital/contao-indexnow-bundle php vendor/bin/contao-console contao:migrate
Danach unter System › IndexNow einrichten.
Dokumentation
Die vollständige Dokumentation steht unter docs/de/README.md: Installation (mit der Schlüsseldatei am Webserver), Einrichtung, Rechte, Bedienungsanleitung, Datenschutz, Fehlersuche.
Lizenz
MIT, siehe LICENSE.