Loading…

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.

Suggest An Answer

Our Particitants

The correct answer is to configure your server properly.

Latest post from Laravel Interview Questions

Ask Question