Merge pull request #4344 from djh101/develop

Fixed trailing slash redirection for subdirectory installs.
This commit is contained in:
Taylor Otwell 2017-07-23 06:35:09 -05:00 committed by GitHub
commit 7bcf7a5450
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d