Secure WordPress Admin – Change & Hide Login URL
·
Secure and customize your WordPress admin login by changing the default wp-login.php URL to a custom slug and blocking unauthorized access to wp-admin …
Secure WordPress Admin – Change & Hide Login URL improves your website’s login security by allowing you to replace the default WordPress login page (wp-login.php) with any custom slug of your choice. It also blocks direct access to both wp-login.php and /wp-admin/ for all non-logged-in users.
Upon activation, the plugin automatically sets the custom login slug to mysecretlogin. Example: https://yourwebsite.com/mysecretlogin
You can update the slug anytime from the settings page. Important: After changing the custom slug, go to Settings → Permalinks and click Save Changes to ensure the new login URL works correctly.
This plugin is lightweight, fast, and follows WordPress coding standards without modifying core files.
Features
- Change wp-login.php to a custom login slug
- Default login slug automatically set to mysecretlogin
- Blocks direct access to wp-login.php
- Blocks unauthorized access to /wp-admin/
- Simple admin settings page to manage the slug
- Fully translation-ready
- Uses WordPress security best practices
- Zero impact on site performance
