There was an error while loading. Please reload this page.
1 parent 757ed66 commit fd82876Copy full SHA for fd82876
1 file changed
public/.htaccess
@@ -8,6 +8,11 @@ RewriteCond %{REQUEST_FILENAME} -l [OR]
8
RewriteCond %{REQUEST_FILENAME} -d
9
RewriteRule ^.*$ - [NC,L]
10
11
+RewriteCond %{REQUEST_METHOD} GET|HEAD
12
+RewriteCond %{REQUEST_URI} !/$
13
+RewriteCond %{REQUEST_URI} !\.[^/]+$
14
+RewriteRule ^(.*)$ /$1/ [R=301,L]
15
+
16
# The following rewrites all other queries to index.php. The
17
# condition ensures that if you are using Apache aliases to do
18
# mass virtual hosting, the base path will be prepended to
0 commit comments