Skip to content

Instantly share code, notes, and snippets.

atulmahankal / .htaccess
Created July 13, 2021 05:50
While uploading the Laravel project into Shared Hosting (Web Server) just upload the below coded .htaccess file at the project root. No need to change the Laravel Project structure.
View .htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f