Git Product home page Git Product logo

microsoft / bing-wordpress-url-submission-plugin Goto Github PK

View Code? Open in Web Editor NEW
29.0 9.0 12.0 2.97 MB

WordPress plugin solution that WordPress website owners can install to notify Bing whenever their website contents is updated or created allowing instant crawling, indexing and discovery of their site content.

Home Page: https://wordpress.org/plugins/bing-webmaster-tools/

License: GNU General Public License v2.0

PHP 39.47% HTML 1.28% JavaScript 4.73% TypeScript 32.97% CSS 0.07% SCSS 21.13% Hack 0.35%
wordpress-plugin bing-webmaster

bing-wordpress-url-submission-plugin's Introduction

Bing URL Submissions Plugin

Bing URL Submission Plugin for WordPress enables WordPress site owners to instantly and automatically submit their new and updated pages to the Bing index. Once setup, the plugin detects any page creation or update in WordPress and automatically submits the URL behind the scenes ensuring that the site content is always fresh in Bing index.

Some other handy features included in the plugin:

  • Toggle automatic submission feature on or off.
  • Manually submit a site URL to Bing Index.
  • View list of recent URLs submitted by the plugin.
  • Retry any failed submissions from recent submission history.
  • Download recent submissions list.

This plugin was developed with love and coffee by the Bing Webmaster team.

Getting Started

Follow instructions below to install the plugin and set up automatic submission of new pages in your WordPress site to the Bing index.

VERIFYING YOUR WORDPRESS SITE ON BING WEBMASTER

  1. Log in to Bing Webmaster (or sign up for an account).
  2. Follow instructions here to verify your WordPress site with Bing Webmaster.
  3. Once verified, you can access your API key by following the instructions here.

INSTALLING THE PLUGIN

  1. Log in to the admin panel for your WordPress site. Click on Plugins > Add New.
  2. Search for "Bing URL Submissions Plugin" and install.
  3. Once installed, click on Activate to enable plugin.

SETTING UP THE PLUGIN

  1. Open Bing URL Submissions plugin settings page by clicking on Settings link for the plugin. (Or the Bing Webmaster link in the navigation menu).
  2. Enter your Bing Webmaster API key into the API key prompt in the plugin page.

Voila! Your WordPress site is now configured to automatically submit URLs to Bing.

Frequently Asked Questions

  • Why should I install Bing URL Submission Plugin?

Bing Webmaster enables quick indexing of your site URLs via the Submit URL API. Bing URL Submissions Plugin automates the submissions of your site URLs to this API by automatically submitting URLs for any page updated/created from WordPress.

  • Where do I find the API key?

To automate Bing URL submissions using the Bing URL Submission Plugin, you need to have your WordPress site registered with Bing Webmaster. Once your site is verified at Bing Webmaster, you can access your API key by navigating to Settings > API Access > API Key within Bing Webmaster portal.

  • I got an error "Adding API key failed: Invalid API Key" when I'm trying to log in to the plugin dashboard using API key. What do I do?

"Invalid URL" error indicates that your API key is invalid for the WordPress site you're trying to configure the plugin against. Please verify that your WordPress site is added and verified against your Webmaster account.

  • "Automatic URL Submission" and "Manual URL Submission" cards are greyed out in plugin dashboard. How do I fix this?

Automatic and manual URL submission cards are disabled if your API key is detected as invalid for submitting URLs against this WordPress site. Please ensure that your site is verified in your Bing Webmaster account and update the plugin with your new API key using 'Update key' option in the API key card.

  • I got an error "Invalid API key : Update API key to enable Automatic & Manual URL submission.". What do I do?

See answer to "Automatic URL Submission" and "Manual URL Submission" cards are greyed out in plugin dashboard. How do I fix this? above.

  • How can I reset the plugin and delete any stored data from my WordPress database?

You can go to 'Plugins' page from your WordPress side menu and click on Deactivate under Bing URL Submissions plugin listing. This will remove the API key integration as well as any locally stored data about submitted URLs. Reactivating the plugin will present you with a clean slate and ask for API key input.

Changelog

1.0.13

  • Fix: Compatibility update with wordpress v5.8 and linting fixes.

1.0.12

  • Fix: Compatibility issue with older wordpress versions.

1.0.11

  • Fix: Non public URL subimssions.
  • Fix: Upgrade dependencies to fix vulnerabilities.

1.0.10

  • Upgrade dependencies to fix vulnerabilities.

1.0.9

  • Update readme to reflect support for WordPress v5.7.

1.0.8

  • Upgrade dependencies to fix vulnerabilities and update latest compatible wordpress version.

1.0.7

  • Fix console error being thrown by React when not in plugin page.

1.0.6

  • Upgrade dependencies to fix known vulnerabilities.

1.0.5

  • Filter out URLs containing specific post_types that aren't browsable.

1.0.4

  • Fix encoded URLs being displayed in URL Submissions table.

1.0.3

  • Update root element name. Fixes issue loading plugin settings page.

1.0.2

  • Rename root element of settings page to avoid conflicts with other plugins.

1.0.1

  • Update readme to reflect support for WordPress v5.5.

1.0.0

  • Initial release.

bing-wordpress-url-submission-plugin's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar nevalsar avatar pingal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bing-wordpress-url-submission-plugin's Issues

Can not submit API key

Hello, please can you help me to solve this one? When I submit the API key and hit the "Start using plugin" button nothing happens and I get the error in console: Uncaught (in promise) TypeError: Cannot read property 'length' of undefined at StartPage.tsx:21

Thank you very much in advance

Submits non-public URLs

A plugin I use uses a custom post type to save data. When the post is created Bing URL Submissions Plugin sends the URL of that post to Bing to be indexed. The URL returns 404 to the public.

Please test the URLs before submission with ~ wp_remote_head().

Otherwise the submission API quota is wasted.

I think this solves the ticket raised at: Random URL being submitted to Bing.

Conflict with EDD

When trying to update a file I get this error in Easy Digital Downloads. You need to try/catch this so you don't break websites.

Fatal error: Uncaught Error: Can only throw objects in /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/utils/class-bing-url-submission-admin-routes.php:303 Stack trace: #0 /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/class-bing-url-submission-admin.php(178): Bing_Webmaster_Admin_Routes->submit_url_to_bwt('https://redux.i...', 'https://redux.i...', '0565c0ea6ba8421...', 'update', false) #1 /www/redux_896/public/wp-includes/class-wp-hook.php(287): Bing_Webmaster_Admin->on_post_published('publish', 'publish', Object(WP_Post)) #2 /www/redux_896/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /www/redux_896/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /www/redux_896/public/wp-includes/post.php(4667): do_action('transition_post...', 'publish', 'publish', Object(WP_Post)) #5 /www/redux_896/public/wp-includes/post.php(4054): wp_transition_post_status('publish', 'publish', Object(WP_Post)) #6 /www/redux_896/public/wp-includes/post.php( in /www/redux_896/public/wp-content/plugins/bing-webmaster-tools/admin/utils/class-bing-url-submission-admin-routes.php on line 303

SVN structure of this plugin incorrect

I use WPackagist to managed our site's wordpress plugins via composer. I'd like to do the same with this plugin, but it looks like something is incorrect in SVN. Specifically, it might have an extra folder in the hierarchy that shouldn't be there.

WordPress database error

Hey,

Some recent database errors that reference the plugin:

[17-Dec-2021 10:17:18 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 for query SELECT COUNT(1) FROM ; made by deactivate_plugins, do_action('deactivate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, deactivate_bing_webmaster_url_submission, Bing_Webmaster_Deactivator::deactivate, QM_DB->query, apply_filters('query'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDropQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query
[17-Dec-2021 10:19:16 UTC] WordPress database error Table 'wp_db_name.wp_bwt_failed_submissions' doesn't exist for query SELECT COUNT(1) FROM wp_bwt_failed_submissions; made by activate_plugins, activate_plugin, do_action('activate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_bing_webmaster_url_submission, Bing_Webmaster_Activator::activate, Bing_Webmaster_Activator::add_failed_submissions_table, dbDelta, apply_filters('dbdelta_queries'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDBDeltaQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query
[17-Dec-2021 10:19:16 UTC] WordPress database error Table 'wp_db_name.wp_bwt_failed_submissions' doesn't exist for query SELECT COUNT(1) FROM wp_bwt_failed_submissions; made by activate_plugins, activate_plugin, do_action('activate_bing-webmaster-tools/bing-url-submission.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_bing_webmaster_url_submission, Bing_Webmaster_Activator::activate, Bing_Webmaster_Activator::add_failed_submissions_table, dbDelta, QM_DB->query, apply_filters('query'), WP_Hook->apply_filters, WSAL_Sensors_Database->EventDropQuery, WSAL_Sensors_Database->check_if_table_exists, QM_DB->query

"WSAL" is WP Activity Log.

This seems to be only on plugin deactivation/activation. If you need more data I can edit wpdb::print_error() and add a backtrace.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.