Level 1
RESOLVED: Create a file .htaccess on the subdomain folder (not only on the public folder) with this code: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule>
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Im deploying a Vue and Laravel project on Hostinger. Vue is in the public_html folder and Laravel is in the subdomain folder. It gives me error 403 but when i move file index.php and .htaccess outside the public folder it works (i know its wrong), how can i resolve this? (Is the first website im deploying)
Please or to participate in this conversation.