Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Bing Indexing API | Webmaster Tools

5 sites No security coverage Drupal 9–11
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

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