0

I use Laravel 5. I would like to change the route from

localhost/projectname/public/index.php/someroute

to

localhost/projectname/someroute

mod_rewrite is already enabled.

Any ideas?

tomrozb
  • 24,752
  • 31
  • 93
  • 118
Steve
  • 956
  • 2
  • 12
  • 29
  • 1
    Firstly, change your webroot to be `/public`, then ensure that the `.htaccess` file in the public folder is the correct one. – Joe Mar 10 '15 at 09:29
  • possible duplicate of [How I can remove "public/index.php" in the url generated laravel?](http://stackoverflow.com/questions/23837933/how-i-can-remove-public-index-php-in-the-url-generated-laravel) – Bogdan Mar 10 '15 at 11:24

0 Answers0