article

Sunday, April 10, 2016

Laravel 5 - Remove public from URL

Laravel 5 - Remove public from URL

From url http://localhost/laravel/public

To http://localhost/laravel/

1. Rename the server.php in the your Laravel root folder to index.php
2. copy the .htaccess file from /public directory to your Laravel root folder. Thats it !!

Related Post