Subscribe to RSS Feed

TechFold is technology discussion, commentary, reviews, and opinions from well outside the valley. There's no koolaid to drink here, and TechFold is not in SL, or on Twitter.

Awesome mod_rewrite / .htaccess Tutorial

Found an awesome Apache mod_rewrite via .htaccess tutorial tonite at yourhtmlsource. For those in the know, mod_rewrite is a killer way to get “clean urls” - i.e.:

“foo.com/bar”

…as opposed to:

“foo.com/index.php?pageid=bar”

I’ve previously used .htaccess “ForceType” commands to get the job done, but this time around I needed to rewrite from the root, i.e.: “foo.com/bar” where “bar” can be any alphanumeric string which serves as a unique content id.

Anyway, that’s it. Just sharing a great tutorial. Enjoy!

, ,

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related Posts

Great Facebook App Building Tutorial
Heading out of town…
Unlimited EDGE Data: $17
Return of the Friday Listening Post: Girl Talk
Friday Listening Post: High Energy Sampler

Leave a Reply

Close
E-mail It