Exclude this directory from rewriting in .htaccess file:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Exclude directory from rewriting
RewriteRule ^(directory-to-exclude) - [L]
# Redirect Trailing Slashes
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
What about the sub directories below (directory-to-exclude)?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community