[pLog-svn] r2534 - plugins/trunk/sitemap
pwestbro at devel.plogworld.net
pwestbro at devel.plogworld.net
Sun Oct 23 15:40:29 GMT 2005
Author: pwestbro
Date: 2005-10-23 15:40:29 +0000 (Sun, 23 Oct 2005)
New Revision: 2534
Modified:
plugins/trunk/sitemap/readme.txt
Log:
Updated the readme to have instructions that are more compatible with different Apache installations. Thank you Reto and Jon.
Modified: plugins/trunk/sitemap/readme.txt
===================================================================
--- plugins/trunk/sitemap/readme.txt 2005-10-23 08:44:40 UTC (rev 2533)
+++ plugins/trunk/sitemap/readme.txt 2005-10-23 15:40:29 UTC (rev 2534)
@@ -3,26 +3,39 @@
Release Date: 2005/06/23
Version: 1.0
-Creates Google Sitemap for a blog. This plugin adds all of the permalinks from a given blog to a site map file. It can also optionally automatically notify Google that this file has changed.
+Creates Google Sitemap for a blog. This plugin adds all of the permalinks from
+a given blog to a site map file. It can also optionally automatically notify
+Google that this file has changed.
-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
+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>
-<Files "sitemap">
+<Files "sitemap.gz">
Allow from all
</files>
+
+
Add the following lines to the plog/.htaccess
-<IfModule mod_rewrite.c>
+
+
+<IfModule mod_rewrite.c>
+
RewriteEngine On
-RewriteBase /
+
+ RewriteBase /
-# Point to the sitemap file that is local to the blog
-RewriteRule ^sitemap([0-9]+)\.gz$ tmp/sitemap/$1/sitemap.gz [L,NC]
+
+ # Point to the sitemap file that is local to the blog
+RewriteRule
+ ^sitemap([0-9]+)\.gz$ tmp/sitemap/$1/sitemap.gz [L,NC]
+
</IfModule>
More information about the pLog-svn
mailing list