Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows your website to notify Bing instantly when content is created or updated, helping Bing crawl, index, and discover your site's information more quickly. It integrates with the Bing Submission API to send URL updates.

Precondition

From Bing documentation:

Bing recommends using the URL submission tool to get web content indexed (as soon as it is published) or updated online. As a webmaster, you can submit URLs to Bing programmatically through the Submit URLs API or the URL submission feature in Bing Webmasters Tools. It allows you to submit up to 10,000 URLs per day for most sites, for (potential) immediate crawls and indexation – depending on a variety of signals available to Bing. We reset the quota every day at midnight GMT. It is also recommended to refresh Sitemaps at least once a day to help Bing discover all relevant (fresh and non-fresh) URLs of your website.

What does the module do?

The module provides Bing Submission Tool API solution that allows websites to notify Bing whenever website contents is updated or created allowing instant crawling, indexing and discovery of your site content.

See URL Submission Tool for more details.

How to use?

  1. Install the module via Composer.
  2. Get API credentials. Follow the instructions to configure Bing and obtain an API key: Getting Access to Bing API.
  3. Add credentials to /admin/config/services/bing-index-api.
  4. Provide your domain URL (e.g., 'https://example.com') and the API keys obtained in the previous step to connect with the Microsoft Bing Indexing API.
  5. (Optional) Add settings for when to trigger URL submission.

    Note: This feature works for nodes only. Make a feature request if needed.

Example of Developer Usage:

Trigger reindexing for a single URL:
\Drupal::service('bing_indexing_api.client')->reindexUrl('https://example.com/foo/boo');

Trigger reindexing for multiple URLs:

\Drupal::service('bing_indexing_api.client')->reindexUrl([
'https://example.com/foo/boo', 
'https://example.com/foo/moo'
]);

How to Test

  1. Submit some URLs using the Bulk Form.
  2. Check Microsoft Bing | Webmaster Tools.
    If everything is correct, the submitted URLs will appear in the "Submitted URLs" list.

Note: use path aliases, /node/1 and /node-1-path-alias are different urls for Bing.

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.3 Stable Dec 11, 2024
1.0.2 Stable Dec 6, 2024