Tag Archives: remove public from laravel url

How to remove public from laravel url

How to remove public from laravel url

In Laravel create .htacess file in your root directory and place the following code. Above code will redirect every public request to normal url. This is the secure method than others. Don’t use the methods of renaming server.php with something else name. It all has security issues.