Site icon Cody Paste

Remove public from url in Laravel

STEP 1 :

Check root folder for  server.php, if there is no any server.php just create one with given code below:

 

 

STEP 2:

If you want to remove public from url, just create .htaccess in the root folder (where the app, public etc) and paste code below.

 

Exit mobile version