How To Deploy Filament in subdirectory
I have a Laravel 10 project with Filament 3 that runs normally in development. However, when I tried to deploy it to a subdirectory (mydomaindotcom/project), I encountered issues - the URLs cannot be accessed and always redirect to mydomaindotcom. Could you help me with this?
4 Replies
Why not a subdomain?
because the user I use is not super admin level, some features are limited including creating subdomains
I don't think subdirectores is the best approach.. subdomains would work better
@rullyka https://laravel-news.com/subfolder-install => should apply to Filament as well, I don't think it does special routing outside the regular Laravel router.
Laravel News
Installing Laravel in a Subfolder? Hide your .env file. - Laravel News
If you are new to Laravel you might not be familiar with its directory structure and the reasons why it’s setup the way it is. If you look at the main repository it’s setup like this, and the documentation covers what each of these folders handles. What is important here is the “public” folder. That …
Continue reading “Installing Laravel in a Su...