View Single Post
  #4 (permalink)  
Old 05-08-2008, 02:31 PM
bennell bennell is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Default

If you use the following .htaccess file, it will only rewrite the url if the file you browse to doesn't exist

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
Reply With Quote