Osclass Support Forums
Osclass plugin support => Seo Plugins => Topic started by: iiui awan on January 09, 2022, 09:55:48 AM
-
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/pakhomec/public_html/adslab.pk/oc-includes/osclass/utils.php on line 341 Warning: fsockopen(): unable to connect to search.yahooapis.com:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/pakhomec/public_html/adslab.pk/oc-includes/osclass/utils.php on line 341
-
@iiui awan
I believe this was discussed before here on the forum but to fix the problem you need to change file: sitemap_generator from line 200 to 208 with:
// PING SEARCH ENGINES WITH NEW SITEMAP - HELP FUNCTION
function ais_sitemap_ping_engines() {
// GOOGLE
osc_doRequest( 'http://www.google.com/webmasters/sitemaps/ping?sitemap='.urlencode(osc_base_url() . 'sitemap.xml'), array());
// BING
osc_doRequest( 'http://www.bing.com/webmaster/ping.aspx?siteMap='.urlencode(osc_base_url() . 'sitemap.xml'), array());
// YAHOO!
//osc_doRequest( 'http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid='.osc_page_title().'&url='.urlencode(osc_base_url() . 'sitemap.xml'), array());
}
In fact you need to disable yahoo osc_doRequest with 2 // :D
-
@mwindey
This was made months/years ago:
https://osclasspoint.com/osclass-plugins/backoffice/all-in-one-seo-plugin-i47#changelog
[3.1.3] Yahoo sitemap api disabled as this service was shut down