lukasbableck / contao-instant-indexing-bundle
This bundle sends a crawl request to the Google Indexing API for newly published pages, news, etc.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^5.3
- google/apiclient: ^2.15
Requires (Dev)
- contao/manager-plugin: ^2.0
Suggests
- contao/calendar-bundle: ^5.3
- contao/faq-bundle: ^5.3
- contao/news-bundle: ^5.3
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-12-27 08:07:10 UTC
README
This bundle allows to send a crawl request to the Google Indexing API for newly published pages, news, calendar events and faqs either automatically or manually.
The API is intended for pages that contain JobPosting or BroadcastEvent structured data but it actually works for any page.
This is useful for sites that publish time-sensitive content and want to have it indexed as soon as possible.
Installation
composer require lukasbableck/contao-instant-indexing-bundle
Configuration
- Create a new project in the Google Cloud Console
- Enable the Google Indexing API
- Create a new service account and a new private key (JSON) for the account
- Add the service account email to the Google Search Console with the "Owner" role
- Paste the contents of the private key file into the 'Google Service Account JSON' field in the root page settings
Usage
If enabled in the root page settings, the bundle will send a crawl request to the Google Indexing API for newly published pages, news, calendar events and faqs automatically.
You can also manually send a crawl request by clicking the "Submit this page to Google for indexing" button in the page list.
Deleted pages can also be removed from the index automatically if the option is enabled in the root page settings.