跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

DevOrbit Login Shield

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

DevOrbit Login Shield

由 nitspatel 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

DevOrbit Login Shield lets you change the address of your login page from the default /wp-login.php to a slug you choose, such as /my-login/. Requests to wp-login.php, and requests to /wp-admin/ from anyone who is not logged in, are redirected to the home page (or shown a 404, your choice) instead of reaching a login form.

This does not change any core files, database table, or rewrite rules. It intercepts the request early and serves WordPress’s own login logic at your chosen URL, so every feature of the normal login screen, including lost password, registration, and logout, continues to work exactly as before, just at a different address.

Features

  • Choose any custom slug for your login page.
  • Direct requests to wp-login.php are blocked, and wp-admin is blocked for logged-out visitors.
  • Blocked requests are intercepted before WordPress can redirect to the login screen, so your custom slug is never exposed in a Location header.
  • Optionally removes the “Log in” and “Register” links themes show to logged-out visitors, so the custom URL stays out of your public HTML.
  • Choose whether blocked requests are redirected home or shown a 404.
  • Logged-in users, AJAX, cron, and WP-CLI are never affected.
  • No rewrite rules, no .htaccess changes, no database schema changes.
  • Settings are removed cleanly on uninstall.

A note on security

This plugin reduces exposure to automated login scanners and brute-force bots that target /wp-login.php by default. It is not a replacement for strong passwords, two-factor authentication, or a login rate-limiting plugin, and it should be used alongside those, not instead of them.

螢幕擷圖

The Login URL settings screen under Settings.
The Login URL settings screen under Settings.

安裝方式

  1. Upload the devorbit-login-shield folder to /wp-content/plugins/, or install directly through Plugins > Add New in your WordPress admin.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings > DevOrbit Login Shield and choose your custom slug.
  4. Decide whether to keep public login links, using the “Public login links” setting on the same screen.
  5. Bookmark the new login URL shown on that screen before navigating away.

常見問題集

I got locked out. How do I get back in?

Connect to your site via FTP/SFTP or your hosting file manager and delete or rename the devorbit-login-shield folder inside /wp-content/plugins/. This deactivates the plugin immediately and restores normal access to /wp-login.php and /wp-admin/.

Why has the “Log in” link disappeared from my site?

Because the “Public login links” setting is on. Those links are generated from your login URL, so any page that renders one, such as the Meta widget or a comment form set to require registration, would print your custom URL in its HTML for anyone to read. With the setting on, the links are removed instead. Turn it off under Settings > DevOrbit Login Shield if your site needs a visible login link.

Do password-protected posts still work?

Yes. The password form posts to wp-login.php?action=postpass, which only sets a cookie and redirects, so that one request is allowed through. It never renders a login form.

Does this work with multisite?

It works on a per-site basis. Network admin (/wp-admin/network/) access is not restricted by this plugin.

Will this break plugins that use AJAX or handle form submissions while logged out?

No. Requests to admin-ajax.php and admin-post.php are always allowed through, whether or not the visitor is logged in.

Does this change my database or add rewrite rules?

No. It stores two small options (your chosen slug and your preferred blocked-request behaviour) and removes them automatically when the plugin is deleted.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者
  • NiteshPatel

將〈DevOrbit Login Shield〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.2

  • Added: a “Settings” link on the plugin’s row on the Plugins screen, for quicker access to Settings > DevOrbit Login Shield.

1.0.1

  • Fixed: “Show a 404 Not Found page” mode now renders the active theme’s own 404 template (falling back to its index template), instead of a generic “Not found.” message.
  • Fixed: the settings screen showed the “Settings saved.” notice twice after saving.

1.0.0

  • Initial release.

中繼資料

  • 版本 1.0.2
  • 最後更新 7 天前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.0.4
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    Brute Forcehide loginloginsecuritywp-admin
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • NiteshPatel

技術支援

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

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.