Discount !! E-commerce App With Backend Source Code Video and Voice Chatting App Firebase Chatting App Source Code Complete Gym App BLoC State Management Source Code Complete Study App Buy Ticket Booking App Source Code Payment App Buy Travel App With Backend Source Code Complete Chat App Udemy Course Special Offer Discount !! Online Learning Course App (BLoC) Discount !! Online Learning Course App (Riverpod) Discount !! Online Learning Course App (Getx)
Let's learn how to edit
.htaccess file for shared host Laravel. If you host your Laravel application you may see
public folder in your url. But you don't wanna show public folder.
But shared is configured for every framework. You need to modify your
To remove public folder from your url just add the below two lines in your
RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]
With this above line you will remove public folder name from your url.
Without the above code in your .htaccess file, your url may look like this
With the above code now it will look like. Because the above code removes public folder name from the