Geeklog

XMLSitemap Plugin

The purpose of the XMLSitemap Plugin is to create XML sitemap files as supported by all major search engines. Such a sitemap file is meant for use by search engines to make it easier to find all the content available on your site. Basically, a sitemape.xml file is a list of the URLs of all content pages on your website. For more information, see sitemaps.org.

Configuration

The configuration of the XMLSitemap plugin can be changed from the Configuration admin panel:

XMLSitemap Main Settings

Variable Default Value Description
sitemap_file sitemap.xml The file name of a normal XML sitemap file. This file has to be located in the public_html directory (where lib-common.php resides) and be writable from the Web server.
mobile_sitemap_file (empty) The file name of an XML sitemap file for contents optimized for mobile users. This file has to be located in the public_html directory (where lib-common.php resides) and be writable from the Web server.
types article, calendar, polls, staticpages Types of contents you would like to set in the XML sitemap file(s).
exclude links Types of contents you would like to exclude from the XML sitemap file(s).
lastmod article, calendar, polls, staticpages Content types to include lastmod element (last modification date) in the XML sitemap file(s).

Priorities

Variable Default Value Description
priorities 0.5 The priority of some contents relative to other contents. Valid values range from 0.0 (lowest) to 1.0 (highest). This value will be used by search engine crawlers just to decide what URLs you think more important, so specifying 1.0 to all types of contents will be meaningless. 0.5 is the default and means no priority value is display in the sitemap for content set to this value.

Frequencies

Variable Default Value Description
frequencies 'weekly' for staticpages, 'daily' for others The frequency with which some type of contents are likely to be updated. Valid values include 'always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', and 'never'. This value will be used by search engine crawlers just to decide how often they should check the contents. However, specifying 'always' doesn't mean that search engine crawlers will surely visit your site. So, specifiying 'daily' or 'weekly' would be better in most cases. Specifiying 'hidden' means no frequency is displayed for the content.

Ping

Variable Default Value Description
ping_google True If you set this to true, the XMLSitemap plugin will automatically inform Google crawlers when you update contents.
ping_bing True If you set this to true, the XMLSitemap plugin will automatically inform Bing crawlers when you update contents.