This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

Fixed sitemap plugin problem

Paul Westbrook | 24 June, 2005 07:17

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:

Powered by LifeType
Design by Book of Styles