Reputation:
I developed a website in laravel and uploaded to web server. I uploaded all the files and folders into the root directory and the files of public folder to public_html. Now when I type the URL to my browser the home page works fine but my other routes are showing
Not Found
The requested URL /schedules was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
In the laravel documentation, I found that "Directories within the storage and the bootstrap/cache directories should be writable by your web server or Laravel will not run."
Is it the reason for this. If yes then how can I do this?
Upvotes: 0
Views: 136
Reputation: 4392
Since your new hosting/server is running Apache
, make sure you copied .htaccess
Upvotes: 1