Remove “/public” from Laravel route
snippet in php

Remove “/public” from Laravel route

user8169

Rename server.php in your Laravel root folder to index.php
Copy the .htaccess file from /public directory to your Laravel root folder.

how to remove public from url in laravel

user8199

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]