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.

About Nick

Melbourne based web developer that loves building front-end systems with anything from vanilla JS to React. Infosec student and active learner. Subscribe to the blog

www ·

Leave a Reply

Your email address will not be published.

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