diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2012-12-31 16:09:14 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2012-12-31 16:09:14 +0000 |
| commit | 200038f69266e0d51f1837a58aeb7de2d3dea994 (patch) | |
| tree | be55a5a245eb85a0170ae62defc2626794d9fd04 | |
| parent | 9b65eafe9074fe1d2b62c69db41bc353bb3143d2 (diff) | |
Removed incorrect slashes before .htaccess rules.
| -rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} !^/$ |
