Custom pages SEO?
I am looking for best package that can add SEO tags in custom page? because I am using Filament as a full website and I tried https://github.com/ralphjsmit/laravel-filament-seo but it seems to be only working with models but what about custom pages?
GitHub
GitHub - ralphjsmit/laravel-filament-seo: A package to combine the ...
A package to combine the power of Laravel SEO and Filament Admin. - GitHub - ralphjsmit/laravel-filament-seo: A package to combine the power of Laravel SEO and Filament Admin.
6 Replies
Filament requires a logged in user. What doesn’t Seo have to do with filament. Just doesn’t make sense.
This is absolutely true. But you can remove the auth from the panel provider and can create public pages. In this case it can be a thing
Absolutely! Filament works great for guest users — you can take advantage of all its authentication features in no time. Plus, you’re free to use widgets however you like within the page view.
Steps to do:
1. Create new panel ex. site
2. in SiteServiceProvider:
a. remove Widgets\AccountWidget::class widget
b. remove Authenticate::class middleware
c. remove Dashboard::class page
d. add the below functions to the panel chain
3. Create new Page HomePage and add it to SiteServiceProvider pages
4. add the below code to HomePage
5. create another Panel for user control panel ex. dashboard
6. add render hook to SitePanelProvider
content of global-search-after:


