From 200038f69266e0d51f1837a58aeb7de2d3dea994 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Mon, 31 Dec 2012 16:09:14 +0000 Subject: Removed incorrect slashes before .htaccess rules. --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 0dcc4c5..e8c4024 100644 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,8 @@ RewriteEngine On # Redirect any requests with .php extensions to non .php URLs -RewriteRule ^/index\.php(.*) http://dev.nutridb.org/$1 [NE,L,R=301] -RewriteRule ^/(.*?)\.php(.*)$ http://dev.nutridb.org/$1$2 [NE,L,R=301] +RewriteRule ^index\.php(.*) http://dev.nutridb.org/$1 [NE,L,R=301] +RewriteRule ^(.*?)\.php(.*)$ http://dev.nutridb.org/$1$2 [NE,L,R=301] # Get rid of ugly .php extensions RewriteCond %{REQUEST_URI} !^/$ -- cgit v1.2.3