Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Bing Indexing API | Webmaster Tools

No security coverage Under active development 4 sites

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.

Drupal 9–11

Ask your assistant about Bing Indexing API | Webmaster Tools

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP Release date
1.0.3 Stable 9–11 Dec 11, 2024
1.0.2 Stable 9–11 Dec 6, 2024