Extension:AutoSitemap

Disclaimer
This extension is based on extension Extension:ManualSitemap. I haven`t possibility for updating my sitemap via cron because of hosting provider, and I also doesn`t want to update it manually. So I edited an exist extension wich will update sitemap by itself at any page edit, create, delete, rename, etc events.

Description
AutoSitemap is MediaWiki extension that automatically build sitemap.xml file at every page create/edit/delete event. Sitemap file helps search engines to observe your site’s pages

Intall
Download the latest snapshot and extract it to your extensions directory. Then include it in your LocalSettings.php file as in the following example:

Filename
You can set filename of sitemap by setting:

Setting base url other then $wgServer
Set all sitemap entries get this as their base url? If not set, used $wgCanonicalServer or $wgServer instead:

Search engines notification
You can notify web sites you want about the update of sitemap:

Sometimes web hoster does not allow the fopen command to call urls (allow_url_fopen=false).

Exclude types of pages from sitemap
You can exclude namespaces or exact pages from including them to sitemap:

Set page update frequency
You can manually specify the frequency with which all addresses will be checked:

Available values are:

hourly daily weekly monthly yearly adjust - for automatic determination of frequency based on page edits frequency

Permissions
Your MediaWiki folder should be permitted for write operations (chmod +w).

= See also =


 * Original extension
 * Wikipedia about sitemaps
 * Google about sitemaps