Friday, June 24, 2005

Fixed sitemap plugin problem


I fixed the problem that I was having with Google Sitemap.  I added a rewrite rule to the base .htaccess file that makes these files appear to be in the root directory

<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]
</IfModule>

Technorati Tags: