Remove index.php from url Laravel 5
snippet in htaccess

Remove index.php from url Laravel 5

user6487

RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,7}\s/(.*)index\.php\sHTTP.*$
RewriteRule ^ /%1 [R=301,L]