• Resolved simkog

    (@simkog)


    Hello,

    I’ve tried the new Instant Indexing feature for both Bing (also Yanndex) and Google. Firslty, I’ve generated a Google Indexing API key, and a Bing Indexing API key and saved the settings page. Then wrote five urls in the Submit URLs for indexing field and saved the settings again.

    After submitting the URLs to Google and Bing only the Google’s response is valid. The Bing’s response is “Something went wrong”. Is there any logging to see what is the actual problem? The WordPress’ log file is empty.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter simkog

    (@simkog)

    Found the cause of this bug.

    TL;DR: it is a false error. The URLs were submitted to Bing successfully.

    Long: The problem is in /plugins/wp-seopress/inc/admin/callbacks/InstantIndexing.php file. From line 126 you check the Bing API’s response to the indexing request. Your developer assumed that a successful request returns 200 code, but the Bing API returns 202 if the request was successful.

    $bing_response[response] => Array (
       [code] => 202
       [message] => Accepted
    )

    Could you update your code?

    • This reply was modified 4 years, 3 months ago by simkog.
    • This reply was modified 4 years, 3 months ago by simkog.

    I have this problem too

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    thank you for your feedback.

    We’ll fix this.

    We double check the documentation, and yes 202 is also a correct code with a different meaning:

    “202: URL received. IndexNow key validation pending.”

    For 200 code it means “URL submitted successfully”

    ETA: next update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Instant Indexing Bing error’ is closed to new replies.