Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 9 remove public from url

//Laravel 9 Just Add these code in .htaccess file
RewriteCond %{REQUEST_URI} !^/public($|/)
RewriteRule ^(.*)$ public/$1 [L]
Source by laratutorials.com #
 
PREVIOUS NEXT
Tagged: #laravel #remove #public #url
ADD COMMENT
Topic
Name
4+8 =