plugin-icon

Secure WordPress Admin – Change & Hide Login URL

作者:Yasar Khalifa·
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 …
版本
1.2
最后更新
Dec 10, 2025
Secure WordPress Admin – Change & Hide Login URL

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
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。