WordPress.org

Forums

Google XML Sitemaps
This can't do Bing for some reason... (3 posts)

  1. Glen Charles Rowell
    Member
    Posted 4 years ago #

    This plug-in can't do Bing on two sites. Can you fix the plug-in please? Thanks.

    Glen Charles Rowell
    http://a4jp.com

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. ccc666
    Member
    Posted 4 years ago #

    Bad localization, as usual with this plugin.

    In wp-content/plugins/google-sitemap-generator/sitemap-core.php, line 2232,

    if($pingres==NULL || $pingres===false || strpos($pingres,"Thanks for submitting your sitemap")===false) {

    varies by country. For exemple, in France, "Thanks for submitting your sitemap" is "Merci d'avoir envoye...

    Turnaround :

    if( $pingres==NULL || $pingres===false || (stripos($pingres,"Thanks")===false && stripos($pingres,"Merci")===false) )

    Just add the translation of "Thanks" in your language instead of "Merci".
    Note that I replaced strpos by stripos to be case-insensitive.

    Enjoy,
    Gerard

  3. Arne Brachhold
    Member
    Plugin Author

    Posted 3 years ago #

    Unfortunately Bing always responds by getting the country by IP address. There is now way to force Bing to reply in English :-(

    The new beta version doesn't do this check anymore:

    http://www.arnebrachhold.de/redir/sitemap-dl-beta/

    @Gerhard: "as usual with this plugin", what other localization problems do you have?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic