How to remove public from URL in Laravel

Published: 04 October 2016
on channel: bons
18,251
116

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
b. favicon.ico
c. index.php
d. robots.txt
e. web.config
//////////////////////////////////////////////////////////
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
2. Next after paste ,open index.php ,modify
• require __DIR__.'/…/bootstrap/autoload.php'; to
• require __DIR__.'/bootstrap/autoload.php';
3. modify
$app = require_once __DIR__.'/../bootstrap/app.php'; to
$app = require_once __DIR__.'/bootstrap/app.php';

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

● Facebook:   / bonstutorial…  
● Website: https://www.bonstutorial.com/

For any queries, feel free to shoot me an email
[email protected]
==============Get Updated==========================
You don't subscribe yet then click here for getting the update
https://www.youtube.com/channel/UC8ga...

//////////////////////////////////////////////related tags///////////
Laravel, Laravel url, How, To, Remove, Public, From, Url, In, How to remove public from url in laravel, How to remove public from url in laravel 5.7, How to remove public from url in laravel 5.8, How to remove public from url in laravel using htaccess, How to remove public from url in laravel on server, :laravel hindi, Laravel 5 tutorial , Laravel tutorial for beginners, Laravel 5 tutorial for beginners step by step , Laravel 5.1, Remove public, Laravel 5.2, Clean laravel url,development:laravel,Laravel 5.5,Laravel tutorials,Laravel 5,Php tutorial,Laravel tips,How to,Tutorial:laravel,Public folder remove,Laravel remove public folder from url,Laravel 4 remove public folder,Laravel 5 remove public folder,Laravel 4.2 remove public folder,Laravel public folder remove,Remove public folder from laravel,Remove public folder in laravel:laravel,Laravel5.6,Laravel remove public,Laravel remove .env,Laravel from scratch,Learn laravel,Laravel from basic,Laravel step by step,Remove public laravel,how to remove public from url in laravel,Remove public from url in laravel,Learn laravel,Laravel (software):remove public from path in laravel,Laravel tutorial,Laravel tutorial in hindi,Learning laravel,Laravel project,Laravel in hindi,Laravel 5.7,Laravel 5.7,Laravel 5.7 tutorial for beginners,Route in laravel,Controller in laravel,Laravel 5.7 series,Best laravel series,Model in laravel,View in laravel.:remove,5.3:laravel,From url,Asset url,How to remove,Laravel route,Tutorial,Laravel helper,Laravel course,Index:web technology,Programming,How to remove public directory in laravel 5.7,Host programming,Removing public from url,Laravel's .htaccess to remove,How to remove public from laravel 5.7,How to remove public from laravel 5.4,Laravel - remove public from url using htaccess,How to remove “public/index.php” from url in laravel:upload a laravel project to a shared hosting,Deploy laravel 5.3 shared hosting,Laravel shared hosting,Upload laravel project to shared hosting

#RemovePublicFromLaravelUrl #RemovePublic #ClearPublicUrl #bons #bonstutorial #bons_laravel


Watch video How to remove public from URL in Laravel online without registration, duration hours minute second in high quality. This video was added by user bons 04 October 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,25 once and liked it 11 people.