NewsFeaturesDownloadsDevelopmentSupportAbout Us

Plugin sitemap

From LifeType Wiki

(Redirected from PLog 1.0/Plugins/sitemap)

Name: sitemap

Download link:

License: GPL

Author: Paul Westbrook


Google Sitemaps is a way that web sites can list the urls that should be index by their search engine. This allows Google to potentially reduce the amount of resources spent on crawling, as well as web developers can explicitly list the pages that they want indexed.

This plugin generates the sitemap file when a post is created or modified. Optionally, Google can be notified automatically when the file is updated.


The plugin configuration page can be found under Control Center->Settings.

Enable your sitemap plugin in your pLog control center.

In order for the site map to be accessible, change plog/tmp/.htacess to allow the sitemap folder to be read by a web browser

<Files "*">
 Order deny,allow
 Deny from all

<Files "sitemap.gz">
 Allow from all

Add the following lines to the plog/.htaccess

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /

 # Point to the sitemap file that is local to the blog
 RewriteRule ^sitemap([0-9]+)\.gz$ tmp/sitemap/$1/sitemap.gz [L,NC]


According to the Google documentation, Google will not process sitemap files larger than 10 megabytes (uncompressed), or with more than 50,000 urls.

This plugin does not handle this case yet. To solve this, it would have to create multiple sitemap files and a sitemap index file.