Answers for "my laravel deploy does not redirect to public folder"

PHP
0

laravel project htaccess redirect to public path

//In your Root directory create a file .htaccess and write it

RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Posted by: Guest on May-08-2021
0

laravel deploy without moving public directory

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)$ public/ [L]
</IfModule>
Posted by: Guest on April-09-2021

Code answers related to "my laravel deploy does not redirect to public folder"

Browse Popular Code Answers by Language