Topic on Extension talk:AutoSitemap/Flow

AutoSitemap_body.php on line 311

5
Summary by Martynov Maxim

Already described in documentation

Шариф Ахмет (talkcontribs)

In the error_log file of our site (https://sheki.org/wiki/Ana_s%C9%99hif%C9%99) , more than 100 such warnings appear in a few hours:

[17-Mar-2024 13:43:47 Asia/Baku] PHP Warning:  fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/shekiwik/public_html/wiki/extensions/AutoSitemap/AutoSitemap_body.php on line 311

[17-Mar-2024 13:43:47 Asia/Baku] PHP Warning:  fopen(https://www.google.com/webmasters/sitemaps/ping?sitemap=https://sheki.org/wiki/sitemap.xml): Failed to open stream: no suitable wrapper could be found in /home/shekiwik/public_html/wiki/extensions/AutoSitemap/AutoSitemap_body.php on line 311...

Martynov Maxim (talkcontribs)

Try setting $wgAutoSitemap["notify"] = [] to disable notifying search engined like Google that sitemap file was updated.

Шариф Ахмет (talkcontribs)

I don't agree. Notice comes from "Google Webmasters":

[04-Apr-2024 10:35:38 Asia/Baku] PHP Warning: fopen(https://www.google.com/webmasters/sitemaps/ping?sitemap=https://sheki.org/wiki/sitemap.xml): failed to open stream: HTTP request failed! HTTP/1.0 404 Sitemaps ping is deprecated. See https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping. in /home/shekiafn/public_html/wiki/extensions/AutoSitemap/AutoSitemap_body.php on line 311 [04-Apr-2024 10:48:33 Asia/Baku] PHP Warning: fopen(https://www.google.com/webmasters/sitemaps/ping?sitemap=https://sheki.org/wiki/sitemap.xml): failed to open stream: HTTP request failed! HTTP/1.0 404 Sitemaps ping is deprecated. See https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping. in /home/shekiafn/public_html/wiki/extensions/AutoSitemap/AutoSitemap_body.php on line 311

Martynov Maxim (talkcontribs)

> I don't agree

What you don't agree with? Have you tried setting $wgAutoSitemap["notify"] = [];?

Шариф Ахмет (talkcontribs)

I did this 1 hour ago. No notification or warning has been received yet. Thanks.