How to remove /public from URL in laravel?
You can do this in various ways. Steps are given below:-
.htaccessfile from public folder and now paste it into your root.
- Now rename
server.phpfile/page to index.php on your root folder.
- Now you can remove /public word from URL and refresh the page. Now it will work.
Suggest An Answer
The correct answer is to configure your server properly.