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
  • 25,773
  • 31
  • 101
  • 122
Steve
  • 1,036
  • 2
  • 13
  • 31
  • 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