Laravel all routes except '/' return 404
问题 As the title says, all the routes in my laravel app except the home('/') route result in a 404 error. I have separated the public folder from the rest of the laravel app as represented in the folder structure below. EDIT: I have confirmed that this is not what's causing the problem. This error occurs on both the development system (local) and the production system (shared hosting). EDIT: I forgot to mention: routes work if I go to localhost/index.php/route_name Folder structure: (folder names