By default, WordPress uses the standard login page at /wp-login.php. ClinicWP allows you to create a custom, branded login page that matches your website’s design and provides a better user experience for patients and doctors accessing their dashboards.
The custom login page automatically redirects users to their appropriate dashboard after successful login:
- Patients → Patient Dashboard
- Doctors → Doctor Dashboard
- Administrators → WordPress Admin Dashboard
Why Use a Custom Login Page?
- Professional Branding – Match your website’s design and colors
- Better User Experience – Cleaner, more intuitive interface
- Consistent Design – Seamless integration with your site theme
- Custom Messaging – Add welcome text or instructions
- Custom login URL
Step 1: Create a New Page
- Log in to WordPress admin dashboard
- Navigate to
Pages→Add New - Enter a page title
Step 2: Insert the ClinicWP Login Block
- Click the
+(Add Block) button in the editor - In the search box, type “ClinicWP” or “Login”
- Look for the
ClinicWPsection in the block categories - Click on
ClinicWP Loginblock to insert it
Step 3: Customize the Login Block (Optional)
Once the block is inserted, you can customize its appearance using the block settings panel on the right.
How the Login System Works
After successful login, users are automatically redirected based on their role:
| User Role | Redirect Destination |
| CWP Patient | Patient Dashboard (/patient-dashboard/) |
| CWP Doctor | Doctor Dashboard (/doctor-dashboard/) |
| Administrator | WordPress Admin Dashboard (/wp-admin/) |
| Other | WordPress Admin Dashboard (if they have access) |