I deployed a laravel app in a shared hosting. It is not designed to work in a shared hosting. I search in google on how to make it work and I added this htaccess script in the root folder:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
The problem I have for a while now is that some of my scripts are executed twice. Insertion in the database are duplicates. Can this htaccess cause the issue?
autoload.phpandstart.phpfiles nothtaccessone. You can find how to here stackoverflow.com/questions/25724586/…