My application url is:
http://localhost/my-app
And my admin panel is here:
http://localhost/my-app/admin
But when I try to access the admin panel using this url:
http://localhost/my-app/admin/
It redirects me to :
http://localhost/admin
Is there any way to prevent this by happening? I want to access the admin panel from this url also.
My htaccess file looks like this currently:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>