Menu

Bing IndexNow URL Submission Tool

This PHP script is designed to make use of the Bing IndexNow API too by parsing your sitemap.xml and submitting the URLs using PHP, JSON and cURL statements. For single URL submissions, it uses GET (HTTP) to submit it. It also produces error results on the page and in a log file.

You can either submit sitemap URLs by pressing submit or single URLs The PHP file has a user-friendly UI.

Instructions:

  1. Open Bing-IndexNow.php
  2. You will manually generate a sitemap key between 8 and 128 characters with no special characters. Name the file the sitemap key such as KLhUgSaa.txt and also paste the key inside the text file. Save it in your public root directory.
  3. Inside the PHP file, I put notes where you will enter the path to your sitemap.xml, site key, and other directory paths. Specifically lines: 29, 33, and 52.

File contents:

  • Bing-IndexNow.php
  • sitekey example text file.

Download the script here (zip file).

I attempted to add Yandex, but I'll do this in its own script. Please feel free to share this script with others and improve this script. I just wanted a simple way to submit URLs to Bing. This is a free script and simple to set up.

License: Open Source

Developed by: adamsthoughts.com

A donation is always appreciated in crypto.