How to remove /public from URL in laravel?
You can do this in various ways. Steps are given below:-
- Copy .htaccess file from public folder and now paste it into your root.
- Now rename server.php file/page to index.php on your root folder.
- Now you can remove /public word from URL and refresh the page. Now it will work.
BY Best Interview Question ON 18 Sep 2022