Remove index.php from url Laravel 5
Put the following code :
RewriteEngine OnRewriteCond %{THE_REQUEST} ^[A-Z]{3,7}\s/(.*)index\.php\sHTTP.*$RewriteRule ^ /%1 [R=301,L]
Put the following code :
RewriteEngine OnRewriteCond %{THE_REQUEST} ^[A-Z]{3,7}\s/(.*)index\.php\sHTTP.*$RewriteRule ^ /%1 [R=301,L]