@D9705996, @Cronix , @click thanks I'll have a look.


You can't set the document root in a shared hosting.

@linesofcode No, but you change the name of the “public” folder in a Laravel application for this exact reason.

You should never deploy your application’s code to a publicly-accessible folder. For this reason, consider your application compromised and change all passwords and access keys.


You should point your server to public folder. Add '/' before index in .htaccess file.

RewriteRule ^ index.php [L] to

RewriteRule ^ /index.php [L]

Please sign in or create an account to participate in this conversation.