4-Remove Public from URL and Secure .env File || Laravel Framework 5.8 Tutorial (Urdu/Hindi)

4-Remove Public from URL and Secure .env File || Laravel Framework 5.8 Tutorial (Urdu/Hindi)



In this Video Lecture we have discuss how we can remove Public from URL in Laravel Project and also discuss how to secure .env file.

Code For .htaccess File

#Hide a specific file
{Files .env}
Order allow,deny
Deny from all
{Files}
Options All -Indexes

Note: Replace {} with angular brackets
Remove Public from URL
Remove Public from URL Laravel Hindi
Remove Public from Laravel Project
Remove Public in Laravel Project
.env file
.env file laravel
secure .env file laravel hindi
secure .env file laravel hindi

7 thoughts on “4-Remove Public from URL and Secure .env File || Laravel Framework 5.8 Tutorial (Urdu/Hindi)

  1. Hello I have one serious issue with my laravel project , my project database few hours in automatically going blank on GoDaddy server . I m really tired to everyday backup database and upload it again and again

Leave a Reply

Your email address will not be published. Required fields are marked *