Hide public url from laravel project
Laravel will run <domain-name>/public folder but we can remove this public path from our site with
server.phpin your Laravel root folder to
- Copy the
/publicdirectory to your Laravel root folder.
It will run site in <domain-name> with out /public but some assets js, css will not work properly we need little bit htacess changes.
these changes are :