warmoger
470
17
Laravel

Remove index.php in Laravel 5

Posted 10 months 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.