when i figure something out i’m happy

I am the superhero of .htaccess! I wrote an .htaccess file so that now when someone follows an old link to one of my old blogposts, they’re redirected to that exact same blogpost but at my new domain!!! I’m so awesome!

OK, so all I actually had to do is make a file in my main public_html directory called .htaccess containing the single line:

Redirect /~jill http://jilltxt.net

which is dead easy once you know it, but you know, you need to look up the .htaccess tutorial, and then regular editors won’t save stuff with just an extension and no filename, and so then you need to try and rename the file in the command line, and when that doesn’t work, you need to learn to use the command line text editor, which also turns out to be easy enough if you simply follow the rules, and then you need to figure out whether .htaccess wants the unix path name of the directory or the URL. But when all that’s done, well, YIPPPEEEE!

I know I still have to fix the layout for Explorer (sigh) and also I could update the template, but we’re just going to have to take this one step at a time.

23. February 2005 by Jill

Comments (10)

Leave a Reply

Required fields are marked *