How to remove public from URL in Laravel

preview_player
Показать описание
How to run Laravel from the root directory, not from public | Laravel remove public from URL | Laravel public folder remove

////////////////////////////////////////////////////////////////////////////////////////
• Go to mainproject/public
a. .htacess
//////////////////////////////////////////////////////////
1. cut these 5 files from the public folder, and then paste on the main project folder that means outside of public folder… mainproject/files
3. modify

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Let's catch up? Follow me on Social media mentioned below!

For any queries, feel free to shoot me an email
==============Get Updated==========================
You don't subscribe yet then click here for getting the update

//////////////////////////////////////////////related tags///////////

#RemovePublicFromLaravelUrl #RemovePublic #ClearPublicUrl #bons #bonstutorial #bons_laravel
Рекомендации по теме
Комментарии
Автор

Thanks dude you save me, to fix your files i recommend move your binders from public to root and thats all

MiguelGorilon
Автор

Excelent!! Thanks very much!
SUPER LIKE!!!

samuelgonzalez
Автор

How could I do this in Laravel 5.7?? I have done all this but I have the next issue: I can't load the css files from my master.blade.php. Any sugestion. I have tried this: <link rel="stylesheet" But I didn't work. All the css styles and js's are in public folder. Any suggestion please??

totikes
Автор

No brother, it is working without public but no css is working I mean all CSS and JS are not woring still no images are showing ... have you solution of this too

KishorinfotechPvtLtd
Автор

hi (°_°)/, good job!!!
I have a question, this way works in a production environment???
and in this way it is safe in a production environment???

sunlogy
join shbcf.ru