Module Description
Introduction Index Now submit requests to search engines when content (nodes, taxonomy terms, commerce products) has been created, updated or deleted on your website. The module provides a service that you can use to send more requests according to your needs.

Supported search engines are:


* Microsoft Bing
* Yandex
* Seznam.cz

Note: Since November 2021, compatibles search engines will immediately share all the submitted URLs with every other compatible search engine. This means that if you choose to notify one search engine, you notify every other one in the same time.

Read more about Index Now project

Requirements
* 1.0.x: This module requires no modules outside of Drupal core.
* 2.0.x: The module requires Configuration split

Differences between 1.0.x and 2.0.x
* 1.0.x: the module will be enabled on all your environments but you will have to generate the API key only on your production environment
* 2.0.x: the module can be enable only on your production environment configuring a dedicated config for this environment

See Configuration for more information.

Installation Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

Configuration
* 1.0.x: Go to /admin/config/services/index_now, generate the API key and choose the default search engine you want to interact with. You can also exclude content types, taxonomy vocabularies and/or commerce products types for which you don't want to use Index Now. If you don't want to use that feature on an environment (ex: local / preprod) just don't generate the API key.
* 2.0.x: Almost the same than 1.0.x, you just don't need to generate the key it has been done for you but after configuring Index Now (/admin/config/services/index_now), you need to define a configuration for your production environment. Go to admin/config/development/configuration/config-split, add a configuration split setting if you don't have already one for your production environment, then add a directory path for this config and enable "Index Now" in the "Complete split" > "Modules" section. Don't forget to export your configuration after submitting the form. You can override the API key value if needed in your settings(.local).php $settings['index_now']['api_key'] = 'whatever-you-want';

Service The module provides a service that can be used to index other URLs than just nodes, taxonomy terms and commerce products pages.

Here is how to use it: \Drupal::service('index_now.indexnow')->sendRequest($your_url);

Note: $your_url must be an absolute URL hosted on your website. Also keep in mind that the page needs to be accessible by an anonymous user.

Drush command In case you would need to regenerate the API key you can use the drush command: drush index_now:keygenerate or its alias drush indnowkeygen

Project Usage
266
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of submitting requests to search engines when content is created, updated, or deleted on a website, providing a service for sending requests to search engines according to specific needs.
Data Name
index_now

OPENAI CHATBOT

OPENAI CHATBOT

14:30:18
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.