clock

Watching time, the only true currency // A journal from John B. Roberts

Help with .htaccess redirects

(Warning: LazyWeb request)

Solved! See comments. Thank you, Ben.

The format of my post links has changed from

http://www.pencoyd.com/clock/2003/12/12.html#a293

to

http://www.pencoyd.com/clock/2003/12/12/TITLE/

I need to use a regular expression redirect to change my 2.5 years of previous posts to something not broken (and I need a better 404 page, but that’s easier and separate), so I need to change

.html#wildcard

to

/

in the .htaccess file.

That won’t get down to the individual post when I’ve had multiple posts in a day, but it won’t be totally off and broken, as it is now.

I hope to use Webmin (my ISP’s web-based config application) to make the change to the .htaccess file, rather than editing it manually, but I need the right format for the grep.

If this is second nature to any of my readers, I’d welcome a tip.

December 2005
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031