From cf354f4d6279b9bd93a29ec288d01461e99093dd Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 28 Aug 2010 21:37:07 -0700 Subject: [PATCH] Add an new rule to the mod_rewrite example that redirects you away from index.php to the short urls. --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index 404b43f5b8..5e9b96d660 100644 --- a/.htaccess +++ b/.htaccess @@ -66,4 +66,5 @@ # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L] # RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L] +# RewriteRule ^index.php/(.*) $1 [QSA,R,L] #