Remove index.php in Laravel 5

Posted 1 month ago by warmoger

I begin enter my site in adress: localhost/laravel -> after click contact menu and my url is: localhost/laravel/contact -> It is a url normal But If I enter my site in address: localhost/laravel/index.php -> after click contact menu and my url is: localhost/laravel/index.php/contact How to remove index.php from url? I use url() for my site, example: url('contact');

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.