Skip to content

Commit

Permalink
no trailing-slash
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Feb 7, 2015
1 parent 22458c6 commit 035fb67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .htaccess
Expand Up @@ -7,6 +7,10 @@ AddType font/woff .woff
<ifModule mod_rewrite.c>
RewriteEngine On

# No Trailing-slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

RewriteRule ^assets - [L,NC]
RewriteRule ^extensions/([^/]+) - [L,NC]
RewriteRule ^extensions/([^/]+)/assets - [L,NC]
Expand Down

0 comments on commit 035fb67

Please sign in to comment.