Title: Secure Login Shield
Author: Ben Treder
Published: <strong>2025 年 9 月 20 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜尋外掛

![](https://ps.w.org/secure-login-shield/assets/banner-772x250.png?rev=3364827)

![](https://ps.w.org/secure-login-shield/assets/icon-256x256.png?rev=3364827)

# Secure Login Shield

 由 [Ben Treder](https://profiles.wordpress.org/bdtreder/) 開發

[下載](https://downloads.wordpress.org/plugin/secure-login-shield.2.0.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/secure-login-shield/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/secure-login-shield/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/secure-login-shield/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/secure-login-shield/#developers)

 [技術支援](https://wordpress.org/support/plugin/secure-login-shield/)

## 外掛說明

**Secure Login Shield** helps you lock down your WordPress login page.
 By default,
WordPress exposes `/wp-login.php` and `/wp-admin/`. Bots hammer these URLs every
day.

This plugin gives you a **private login slug** (e.g. `/dragon-lair`) and hides the
default login endpoint:

 * Defaults to `/wp-login.php` until you change it.
 * Once changed, **only your custom slug** works.
 * Direct access to `/wp-login.php` shows a **404 Not Found** (stealth mode).
 * Logged-out visitors hitting `/wp-admin/` are **redirected to the homepage**.
 * Deactivate the plugin  everything reverts to normal.

Made with ❤️ by [Ben Treder](https://BenTreder.com)

### Features

 * **Private login slug** (e.g. `/dragon-lair`, `/control-center`, `/secret-gate`)
 * **Stealth 404 protection**: Bots hitting `/wp-login.php` see “Not Found”
 * **Homepage redirect**: `/wp-admin/` (logged out)  homepage
 * **Easy settings page** under Settings  Secure Login Shield
 * **Safe activation/deactivation**: no core hacks, auto-reverts when disabled

### Contribute & Support

 * Website: [BenTreder.com](https://BenTreder.com)
 * Author: [Ben Treder](https://profiles.wordpress.org/bentreder/)
 * Issues & Feature Requests: Please open a ticket on [BenTreder.com](https://BenTreder.com)
 * Like this plugin? ⭐ Leave a review and help spread the word!
 * ☕ Support development: [Buy Me a Coffee](https://www.buymeacoffee.com/bentreder)

## 螢幕擷圖

 * [[
 * Settings page showing the default login slug (/wp-login.php)
 * [[
 * Settings page with a custom private slug (/dragon-lair)

## 安裝方式

 1. Upload the `secure-login-shield` folder to the `/wp-content/plugins/` directory
    or install via Plugins  Add New  Upload.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. **Go to Settings  Secure Login Shield.**
 4. Set your private slug (example: `dragon-lair`).
 5. **Go to Settings  Permalinks  Save Changes** (refresh rewrite rules).
 6. If you use a caching plugin or CDN, **clear cache** to avoid stale redirects.
 7. Log in using `https://yoursite.com/dragon-lair`.

**Important:** Bookmark your new login URL! If you forget it, you’ll need to disable
the plugin via FTP or database.

## 常見問題集

### Will this break my site?

No. By default it uses `/wp-login.php` until you change it. Deactivating the plugin
instantly reverts WordPress to normal behavior.

### Can I completely block /wp-login.php?

Yes. Once you set a slug, `/wp-login.php` (and actions) return a 404 Not Found.

### What if I forget my private slug?

Deactivate the plugin via FTP (delete or rename `secure-login-shield`). WordPress
will go back to `/wp-login.php`.

### Does this work with caching plugins or CDNs?

Yes, but after changing your slug, you should clear cache/CDN to avoid serving stale
redirects.

## 使用者評論

![](https://secure.gravatar.com/avatar/c265744b104cddc9d9f334cbc86cce65a6d5ff5aa7a04e71e446706eef32b6cd?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-40862/)󠁿

 [urosjovanovic](https://profiles.wordpress.org/urosjovanovic/) 2025 年 9 月 22 
日

Secure Login Shield is a great plugin! Easy to use and very effective at protecting
your site.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/secure-login-shield/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Secure Login Shield〉的開發相關工作。

參與者

 *   [ Ben Treder ](https://profiles.wordpress.org/bdtreder/)

[將〈Secure Login Shield〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/secure-login-shield)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/secure-login-shield/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/secure-login-shield/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/secure-login-shield/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/secure-login-shield/)。

## 變更記錄

#### 2.0.5

 * Corrected WordPress.org release versioning after the Secure Login Shield audit.
 * Confirmed WordPress 7.0 compatibility metadata.
 * Kept the free plugin focused on private login URL protection, stealth 404 behavior,
   and logged-out wp-admin redirect protection.

#### 1.3.0

 * Rebrand to **Secure Login Shield** by Ben Treder
 * Default slug remains `/wp-login.php` (safe on first install)
 * Added activation notice: Save permalinks + clear cache after activation
 * Stealth 404 mode enforced when custom slug is chosen
 * Homepage redirect for logged-out visits to `/wp-admin/`

#### 1.2.0

 * Added stealth 404 mode
 * Improved security enforcement

#### 1.1.0

 * Redirected /wp-admin/  homepage for logged-out users

#### 1.0.0

 * Initial release with custom login slug + wp-login.php block

## 中繼資料

 *  版本 **2.0.5**
 *  最後更新 **3 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/secure-login-shield/)
 * 標籤:
 * [custom login](https://tw.wordpress.org/plugins/tags/custom-login/)[hardening](https://tw.wordpress.org/plugins/tags/hardening/)
   [login](https://tw.wordpress.org/plugins/tags/login/)[security](https://tw.wordpress.org/plugins/tags/security/)
   [wp login](https://tw.wordpress.org/plugins/tags/wp-login/)
 *  [進階檢視](https://tw.wordpress.org/plugins/secure-login-shield/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/secure-login-shield/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/secure-login-shield/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/secure-login-shield/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/secure-login-shield/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/secure-login-shield/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/secure-login-shield/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/secure-login-shield/reviews/)

## 參與者

 *   [ Ben Treder ](https://profiles.wordpress.org/bdtreder/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/secure-login-shield/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.buymeacoffee.com/bentreder)