June 14, 2004

I broke it

When I added a top level rule to redirect the archived individual entries, I screwed up all the other redirects because I used a blanket redirect. Dang it all.

So now, instead of...

# notice that this redirects everything via the lookup mechanism
RewriteRule ^/blog/archives/(.*)$ ${old-post-mapping:$1} [R=301,L]

I have this.

# just redirect archives/xxxxxx.html stuff
RewriteRule ^/blog/archives/([0-9]+)\.html$ ${old-post-mapping:$1\.html} [R=301,L]

And everybody should be happy now (including all the very confused search engines). My apologies.

Posted by Dave at June 14, 2004 12:05 AM
Comments