Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

haritz's avatar

View not found shared hosting

Hello,

I just uploaded my project to one shared hosting and the home view works fine but when I try to go to antoher page I get the error that the view is not found.

The home.blade.php is located in resources/views and then I have resources/views/league folder where I have more views.

If I move one of resources/views/league view to resources/views, its works fine on my page, but if its inside resources/views/league, I get the error.

Thank you

0 likes
3 replies
experimentor's avatar
Level 25

@haritz Check your controller code where you are returning the view

it should be like

return view('league.some_blade_file_name')
Maria30's avatar

Its probably a matter of files permissions or server settings.

siangboon's avatar

few thing can check:

  • typo on web route or controller
  • .htaccess
  • duplicate folder in public folder

Please or to participate in this conversation.