Update ping URLs
This commit is contained in:
parent
82501c9c9c
commit
83e8cf74c1
|
@ -86,12 +86,12 @@ class pluginSitemap extends Plugin {
|
||||||
private function ping()
|
private function ping()
|
||||||
{
|
{
|
||||||
if ($this->getValue('pingGoogle')) {
|
if ($this->getValue('pingGoogle')) {
|
||||||
$url = 'https://www.google.com/webmasters/sitemaps/ping?sitemap='.Theme::sitemapUrl();
|
$url = 'http://www.google.com/ping?sitemap='.Theme::sitemapUrl();
|
||||||
TCP::http($url, 'GET', true, 3);
|
TCP::http($url, 'GET', true, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->getValue('pingBing')) {
|
if ($this->getValue('pingBing')) {
|
||||||
$url = 'https://www.bing.com/webmaster/ping.aspx?sitemap='.Theme::sitemapUrl();
|
$url = 'https://www.bing.com/ping?sitemap='.Theme::sitemapUrl();
|
||||||
TCP::http($url, 'GET', true, 3);
|
TCP::http($url, 'GET', true, 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue