Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

redirect all request to public folder laravel htaccess

RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect #request #public #folder #laravel #htaccess
ADD COMMENT
Topic
Name
1+2 =