Change & Hide Login URL

plugin banner

Change or hide the default wp-login.php URL by using a custom slug and block unauthorized access to wp-admin.

Author:Yasar Khalifa (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.9.4
Plugin version:1.2
Added to WordPress repository:17-11-2025
Last updated:10-12-2025
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:972
Active installs:30+
plugin download
Click to start download

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

FAQ
ChangeLog