laravel htaccess public code example
Example 1: public laravel htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Example 2: laravel remove index.php from url
laravel remove index.php from url
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
laravel remove index.php from url