Created
October 11, 2023 14:15
-
-
Save Sharifur/9ce9f298b3263fd2ca394ac3149007bd to your computer and use it in GitHub Desktop.
How to remove public from laravel project using htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)$ public/$1 [L] | |
</IfModule> | |
#add this file in the root folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment