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:

4 comments:

  1. Paul,
    I'm sorry to bug you. I really wanted to use the sitemap plugin you made for plog (Life Type), but I'm having trouble and hoped you'd know what's wrong.
    The plugin is present under Plugin Center and there is a Sitemaps tab, but when I click it and select the Enable and Notify Google checkboxes and hit Update, I just see a blank white page.
    I don't know if it's working or what to do. All I can do is hit Back on my browser. If I go back to the Sitemaps tab, the items are unchecked, so it appears that it's not taking effect.
    Do you have any idea why this is happening?
    Thanks,
    Todd

    ReplyDelete
  2. What version of the plugin are you running? And what version of LifeType are you running? The plugin that is listed http://wiki.lifetype.net/index.php/Plugin_sitemap will only work with LifeType 1.1.

    ReplyDelete
  3. I'm using version 1.0 of the plugin.
    As for LifeType, it's actually Plog (which I assume is the old name for LifeType) version 1, Release 8.
    It's what came with Plesk 7.5. I believe.
    Is there any way I can use sitemap?
    Thanks,
    Todd

    ReplyDelete

Unlocking Seamless Integration: Navigating Unexpected Hubitat Device Queries and VLAN Challenges for a Smoother Home Automation Experience

During my network debugging efforts , I came across an intriguing observation related to the two Hubitat devices on our network. The logs b...