Topic on Extension talk:AutoSitemap

Jump to navigation Jump to search

Missing AutoSitemap File

2
Summary by Martynov Maxim

You should make some change (create/update/rename/delete/etc) on any page to generate sitemap file after installing the extension.

81.41.132.144 (talkcontribs)

Hi!


I've installed AutoSitemap Extension. No errors.


But sitemap.xml file is missing and Google Search Console doesn't fint it:

Producto Versión
MediaWiki 1.35.1
PHP 7.4.10 (cgi-fcgi)
MySQL 5.7.32-35-log
ICU 50.2

This is my localsettings configuration:


wfLoadExtension( 'AutoSitemap' );

$wgAutoSitemap["server"] = "myurl/wiki";


But this URL return me a 404 Error:


myurl/wiki/sitemap.xml


Could anyone help me?


Thanks!

81.41.132.144 (talkcontribs)

I've solved it!


Reading previous questions I've seen that sitemap file was created after every creation/deletion or modification.


I didn't make any modification. So the file wasn't created.


After creating a new page, the file was perfectly created.


Thanks for all.