There's no way am complicating something so basic. What if you have the website working locally in a public folder rather than public_html and then you have to make changes to your local branch and re-deploy to git? You'll face errors when your local branch is not in sync with your remote branch.
The best way to do is:
create a new .htaccess file inside public_html directory
In the above lines you should replace the following: your-domain.com – Type your own domain name and also replace your-laravel-folder with your folder name.
There's no way am complicating something so basic. What if you have the website working locally in a public folder rather than public_html and then you have to make changes to your local branch and re-deploy to git? You'll face errors when your local branch is not in sync with your remote branch.
The best way to do is:
In the above lines you should replace the following: your-domain.com – Type your own domain name and also replace your-laravel-folder with your folder name.
Hello I would like to have your help I used your path to deploy my laravel application on hostinger but I have a 403 error