Permalink
Browse files

Remove ending slash with RewriteRule

  • Loading branch information...
1 parent 0950f09 commit 0bbd77316c4e406717ee6d8f41a081ac42866f5f @corny corny committed Mar 17, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 public/.htaccess
View
@@ -0,0 +1,5 @@
+RewriteEngine On
+
+# remove ending slash
+RewriteRule ^(.+)/$ /$1 [R=301,L]
+

0 comments on commit 0bbd773

Please sign in to comment.