diff --git a/public/.htaccess b/public/.htaccess index 969cfdab..2a235ee4 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,6 +1,10 @@ Options -MultiViews RewriteEngine On + + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L] + RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] \ No newline at end of file