(Hello. It’s been a while since my last post. I mostly post on Twitter, Facebook and identi.ca now. I also maintain two “mini-blogs” on Tumblr and Posterous. My two loyal readers should head over there, follow my social network accounts, or subscribe to my aggregator. *hint, hint* Anyway…) I’ve been meaning to fold in posts [...]
Just a quick note, lest I forget this. To redirect a subdirectory to a subdomain using .htaccess, use the following: <ifmodule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^subdirectory(.*)$ http://subdomain.domain.tld$1 [R=301,L] </ifmodule> (Note the 301 permanent redirect.) The regular expression is greedy, but it takes care of the trailing slashes — just in case. *shrugs*
Under Creative Commons License (by-nc). Theme: Deposed.