Sulthan Allaudeen · Digital Architect

← All posts

Remove public index.php from your Laravel Project in two steps

By ·

Remove public  index.php from your Laravel Project in two steps

Here’s the Simple 2 step way step  to remove the pubic/index.php  from your laravel project which gives you pretty url

Step 1 :

Rename the file server.php to index.php in your project root folder

Step 2 : 

Move the .htaccess file from your public folder to root folder

Topics:

Related posts