Disable Pinging Sitemap to Search Engines – All in One SEO

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

All in One SEO Pack automatically pings Google and Bing with submissions of any updates to your xml sitemap. If for some reason you’d like to disable this functionality, you can do so with our filter hook, aioseo_sitemap_ping.

add_filter( 'aioseo_sitemap_ping', '__return_false' );

Note: If, alternatively, you’d like to go in the other direction and add or modify the array used for the list of search engines to ping with your xml sitemap, we have a filter hook for that as well.

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo