Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Laravel – Remove Public from URL using htaccess

Step 1: Rename File

In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at your laravel root directory.

Step 2: Move Files

Move css , js ,fonts and image directories and .htaccess file from public directory to laravel root directory

Step 3: Update .htaccess

Rajesh Kumar
Follow me