You need to fix your hosting so that the webserver's root folder (the 'document root' ) is the laravel public folder.
No other solution will work correctly.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello All ,
I create new blog with nova and blogify tool . I tried to set up my shared hosting service. But in some parts I get an error.
Error 1: I am using simple bit htaccess. But when I want to go to the '/ nova' directory, it goes to the endless loop. (http://smartsoccer.xyz/nova )
(Note : if I enter '/ public / nova' as login, then '/ nova' is running. But if I enter '/ nova' directly, there is an endless loop.)
htaccess source:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/ [L]
</IfModule>
Error 2: When I want to show an image (for example: http://smartsoccer.xyz/storage/thumbnails/Xx1dzLBeSz4loYAQHdrCyljdrYjr5Kl8dJ4Q5SiY.png)
I get 404 not found error. I did the linking(storage:link command), but the source still cannot be found.
Please or to participate in this conversation.