Thread: .htaccess help
View Single Post
Old Aug 26th, 2006, 6:02 PM   #1
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 855
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
.htaccess help

I have a .htaccess rule that will redirect any requests, starting at the directory containing the .htaccess file, to index.php:
RewriteRule ^$ index.php [L]
However, this will redirect anything, so /potato or /pot/head/eater will both be redirected. I need a way to redirect everything that does not begin with cookbook/. Can anyone help me out here? Thanks.
titaniumdecoy is offline   Reply With Quote