Create htaccess File
Firstly do create a new htaccess file in the root project like below.
.htaccess
RewriteEngine On RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ /public/$1 [L,QSA]
Learn how to silently rewrite the public URL from being accessible in Laravel 8 application the easy way
Created on Oct 08, 2021
•283 views
.htaccess
RewriteEngine On RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ /public/$1 [L,QSA]
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to Remove Public from URL in Laravel 8 Application
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View Components1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago