F
Filament2mo ago
bora

Assistance with Deploying Laravel 11 & Filament v3 Admin Panel in Subfolder

Hi, I've deployed an admin panel built with Laravel 11 and Filament v3 on my development server, and everything is working fine. However, for production deployment, I need to place the admin panel in a subfolder instead of the root directory. Current Setup: public_html index.html (React application build files) admin/ (Filament admin panel should be accessible here) I moved the Laravel application to the home directory and created a symbolic link from admin_portal/public to public_html/admin. However, I’m facing some issues: Login Page Issue The login page loads, but attempting to log in results in an error: "The POST method is not supported for route admin/login. Supported methods: GET, HEAD." Routing Issue Sometimes, the login form itself doesn’t load, showing this error: "Route [filament.admin.auth.login] not defined." Interestingly, API routes (example.com/admin/api) are working fine, but I want the admin panel to be accessible at example.com/admin. I’d really appreciate any guidance on resolving this. Thank you in advance for your help!
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?