All
I want to remove public from url using htaccess, i've tried many ways but it doesn't work in laravel 6. The latest i'm using this way : https://hdtuto.com/article/laravel-remove-public-from-url-using-htaccess
But same result, any sugestion ?
All
I want to remove public from url using htaccess, i've tried many ways but it doesn't work in laravel 6. The latest i'm using this way : https://hdtuto.com/article/laravel-remove-public-from-url-using-htaccess
But same result, any sugestion ?
SOLVED !!!
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ ^$1 [N] RewriteCond %{REQUEST_URI} (\.\w+$) [NC] RewriteRule ^(.*)$ public/$1 RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php