Deploy Laravel Project on cPanel (Hosting)

code for .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

Leave a Reply

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