© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
neverender24

Custom filament page route for change password

I created a custom filament page using this https://filamentphp.com/docs/2.x/admin/resources/custom-pages

And added to appserviceprovider boot. I call the Resource URL with the following. I also added the page in the resource getPages().

use Filament\Facades\Filament;
use Filament\Navigation\UserMenuItem;

Filament::serving(function () {
Filament::registerUserMenuItems([
UserMenuItem::make()
->label('Change Password')
->url(UserResource::getUrl('changePassword'))
->icon('heroicon-s-cog'),
]);
});

I get error
Route [filament.resources.users.changePassword] not defined.

How do I register the route?
Filament
Custom pages - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Custom pages - Resources - Admin Panel - Filament
Solution
Okay I finally got it, it is because I cache the URL, after I clear cache it works.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Issue With Custom Filament Page Route
FilamentFFilament / ❓┊help
4mo ago
Custom page route
FilamentFFilament / ❓┊help
2y ago
Route not found for Filament Resource Page
FilamentFFilament / ❓┊help
10mo ago
Route to custom page
FilamentFFilament / ❓┊help
3y ago