Laravel index.php appearing in URL

If you’re having trouble with a Laravel link looking like “localhost/index.php/my/path”  you should edit your application.php file to and change

 

index => 'index.php'

to

index => ''

You can find these on line 42ish.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like