I have copied the project from the production server to the local machine and reconfigured everything to use it on the local environment. Login and Dashboard works fine but it gives 404 page for everything else.
Steps to reproduce the behavior:
The project should work in local machine as working in production server
My Project has lots of BREAD built inside it and REST API also, so i don't want to build everything from scratch. please help.
You likely just missed some configuration. Reproduction steps should be as specific as possible (think like you're telling a blind person how to get somewhere). Right now, your directions say "copy" but don't say where, and "configure" but don't say what or how
Did you use xampp for the local environment?
i face the same issue when using xampp, but its working after i use laravel php artisan serve
Same problem when using xampp.. i updated the APP_URL but it's not working - Error 404
i think the sidemenu is not using relative url( not using APP_URL variable)
maybe i'm wrong 馃
You likely just missed some configuration. Reproduction steps should be as specific as possible (think like you're telling a blind person how to get somewhere). Right now, your directions say "copy" but don't say where, and "configure" but don't say what or how
Thanks for your reply.
I just zipped the directory containing the entire project and downloaded in the local machine. after that, I've setup Laragon (i'm not using XAMPP) and installed the database copied from server. as part of the configuration, i also configured the project's .enc file and database configs. Now the Project supposed to work exactly as on the server, but only dashboard URL works. Everything else goes to 404 page.
Same problem when using xampp.. i updated the APP_URL but it's not working - Error 404
i think the sidemenu is not using relative url( not using APP_URL variable)
maybe i'm wrong 馃
Yup, I also aspect the same situation that the APP_URL variable in the .env file is not being used.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.