.htaccess Woes…
Argh, I swear I’m going to go nuts any second now!
For the past 5 or 6 hours (I’ve lost track of time) I have been tweaking the .htaccess files on my new site… and damn is it getting on my nerves… I have made 0 progress, I hate apache. The concept is simple, I want it so that if a visitor comes to the site’s root directory, it will be redirected to /blog/ and yes I know I could simply do this in php with a header(“Location: …”) command, but I know .htaccess files are designed to do this kind of thing and I want to use new stuffs for my new site and make it as efficient and well made as possible. However the only thing I’ve managed to achieve so far are about 1000 “redirect limit reached” alerts *sighs*
I’ve tried every possible combination (or so it feels), it basically works on a regex principle. If the address matches a regex pattern you specify then do something useful. But alas, I can’t get it right… I’ve got the .htaccess file working and doing some other cool things for my new site, simple things mind you, but at least I didn’t use WordPress to automatically generate it for me
Well I suppose I better keep trying, think I’m gonna look for more tutorials/examples on t3h interw3bz0rs…
3 Comments
Other Links to this Post
RSS feed for comments on this post. TrackBack URI
By Jargon, December 11, 2005 @ 3:16 am
ROFL, OMG!!!
Talk about sods law… the MINUTE I post this blog entry… I nail the fucker! Wooooo! It works, and the people rejoice!!!
By Neil, December 11, 2005 @ 12:34 pm
I sent you some of the examples which WordPress made – at least some of use use WordPress so we can help you out in your hour of need
But newoo – at least it works now
By Jargon, December 11, 2005 @ 3:01 pm
I prefer to write my own system, feels a lot more satisfying when I succeed