Title: Adminkeep – Disable Comments, Duplicate Posts &amp; Site Lockdown
Author: Shazzad Hossain Khan
Published: <strong>2026 年 9 月 19 日</strong>
Last modified: 2026 年 9 月 19 日

---

搜尋外掛

![](https://ps.w.org/adminkeep/assets/banner-772x250.png?rev=3703401)

![](https://ps.w.org/adminkeep/assets/icon.svg?rev=3703401)

# Adminkeep – Disable Comments, Duplicate Posts & Site Lockdown

 由 [Shazzad Hossain Khan](https://profiles.wordpress.org/sajib1223/) 開發

[下載](https://downloads.wordpress.org/plugin/adminkeep.1.1.0.zip)

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

 [技術支援](https://wordpress.org/support/plugin/adminkeep/)

## 外掛說明

You decide what changes on this site.

Adminkeep is two sets of tools under that one idea. **Site Lock** stops things changing
behind
 your back — no new comment, no new plugin, no new user. **Content** makes
the changes you do want safe to make.

Every feature is a single switch, off until you turn it on. **Switching one off 
never leaves you
 repair work
: the locks work purely through WordPress filters,
so your site is exactly as it was,
 and what you made with the Content features 
stays where you put it.

#### Site Lock

 * **Disable Comments** — comments off everywhere, including direct POSTs from spam
   bots and the REST API. Nothing is written to your database, so switching it off
   brings every comment back. An optional cleanup button deletes spam and trashed
   comments, after showing you the exact count. [Guide](https://wpproadmin.com/guides/disable-comments-wordpress/)
 * **Registration Lockdown** — stops new accounts being created, and refuses creation
   of or promotion to administrator. Blocked attempts are logged. [Guide](https://wpproadmin.com/guides/stop-spam-user-registration-wordpress/)
 * **Disable XML-RPC** — closes `xmlrpc.php` completely, including pingbacks and`
   system.multicall`. [Guide](https://wpproadmin.com/guides/disable-xmlrpc-wordpress/)
 * **Disable File Editing** — removes the built-in plugin and theme file editors,
   reversibly.
 * **Installation Lockdown** — no new plugins or themes, no uploads, for anyone.
   Updates keep working, so security releases still reach your site. [Guide](https://wpproadmin.com/guides/block-plugin-installs-wordpress/)

#### Content

 * **Duplicate** — copy any post or page as a draft. Custom fields, taxonomies, 
   the featured image and page builder layouts (Elementor, ACF) come along intact,
   and the original is never modified. [Guide](https://wpproadmin.com/guides/duplicate-page-wordpress/)
 * **Live Draft** — rework a published page in a private working copy, then publish
   it over the original. Same ID, same URL, and the old version is kept as a revision.
   [Guide](https://wpproadmin.com/guides/edit-published-page-without-unpublishing/)
 * **Keep URL** — rename or move a page and its old address keeps working, child
   pages included. Fills the gaps WordPress leaves for pages and leaves posts to
   core. [Guide](https://wpproadmin.com/guides/change-wordpress-slug-redirect/)
 * **Order** — drag posts into the order you want on a dedicated Sort screen, one
   post type at a time. Lists that already ask for their own order, such as WooCommerce
   products and search results, are left alone. [Guide](https://wpproadmin.com/guides/reorder-wordpress-posts/)
 * **Replace Media** — upload a new version of a file over the old one. Same file
   type keeps the same URL; a different type updates the posts that use it and redirects
   the old address. [Guide](https://wpproadmin.com/guides/replace-image-wordpress-same-url/)

#### Performance

A feature you have not enabled registers zero hooks and loads zero assets.

#### Links

 * [Website](https://wpproadmin.com/)
 * [Documentation](https://wpproadmin.com/docs/)
 * [Guides](https://wpproadmin.com/guides/)

## 螢幕擷圖

[⌊Two groups, ten features, one switch each. Everything starts off.⌉⌊Two groups,
ten features, one switch each. Everything starts off.⌉[

Two groups, ten features, one switch each. Everything starts off.

[⌊Nothing is deleted until you have seen the exact count. Order notes and reviews
are excluded unless you say otherwise.⌉⌊Nothing is deleted until you have seen the
exact count. Order notes and reviews are excluded unless you say otherwise.⌉[

Nothing is deleted until you have seen the exact count. Order notes and reviews 
are excluded unless you say otherwise.

[⌊Duplicate and Live Draft where you already work — the row actions, not a new menu.⌉⌊
Duplicate and Live Draft where you already work — the row actions, not a new menu
.⌉[

Duplicate and Live Draft where you already work — the row actions, not a new menu.

[⌊Swapping a file for a different format tells you what references it first, then
keeps the old URL redirecting.⌉⌊Swapping a file for a different format tells you
what references it first, then keeps the old URL redirecting.⌉[

Swapping a file for a different format tells you what references it first, then 
keeps the old URL redirecting.

[⌊Sorting gets a screen of its own: drag a row where you want it — and the order
applies to your front-end queries too.⌉⌊Sorting gets a screen of its own: drag a
row where you want it — and the order applies to your front-end queries too.⌉[

Sorting gets a screen of its own: drag a row where you want it — and the order applies
to your front-end queries too.

[⌊Rewrite a published page while it stays published. Merge back into the same post,
same URL.⌉⌊Rewrite a published page while it stays published. Merge back into the
same post, same URL.⌉[

Rewrite a published page while it stays published. Merge back into the same post,
same URL.

[⌊The administrator guard is on by default. Blocking plugin-created accounts is 
opt-in, because it breaks WooCommerce checkout.⌉⌊The administrator guard is on by
default. Blocking plugin-created accounts is opt-in, because it breaks WooCommerce
checkout.⌉[

The administrator guard is on by default. Blocking plugin-created accounts is opt-
in, because it breaks WooCommerce checkout.

[⌊Stop plugin and theme installs and uploads, while updates keep working — and switch
it back off from this same screen.⌉⌊Stop plugin and theme installs and uploads, 
while updates keep working — and switch it back off from this same screen.⌉[

Stop plugin and theme installs and uploads, while updates keep working — and switch
it back off from this same screen.

[⌊The redirects WordPress core skips: hierarchical pages, and posts moved to a new
parent.⌉⌊The redirects WordPress core skips: hierarchical pages, and posts moved
to a new parent.⌉[

The redirects WordPress core skips: hierarchical pages, and posts moved to a new
parent.

## 安裝方式

 1. In your WordPress admin, go to **Plugins  Add New Plugin**, search for “Adminkeep”
    and click **Install Now**, then **Activate**.
 2. Open the new **Adminkeep** menu item. Every feature starts **off**; switch on only
    the ones you want.
 3. To remove the plugin, deactivate and delete it as usual. Uninstalling removes its
    settings and its own redirect table. Nothing it changed while enabled outlives 
    switching the feature off.

Or with WP-CLI:

    ```
    wp plugin install adminkeep --activate
    ```

## 常見問題集

### Will this delete my comments?

Not unless you ask it to. Turning Disable Comments on only hides them — a test asserts
the comment
 rows are untouched after a full enable-and-disable cycle.

There is a separate cleanup button that does delete, and it deletes **spam and trashed
comments
 only
 unless you tick the box to include approved ones. It shows the exact
count, asks you to
 confirm, and cannot be undone.

### Can I turn it back off?

Yes, instantly. There is never a migration to run or a repair step to find.

The locks work purely through WordPress filters, so nothing was written to your 
database to undo —
 switch one off and your site is exactly as it was. The Content
features are deliberately different: they write the things you asked them to write.
A copy you made, an order you saved, a file you replaced, a redirect recorded when
you renamed a page — switching the feature off stops it doing any more, and leaves
what it already did alone. Work you did on purpose should not disappear because 
you unticked a checkbox.

### Does this actually stop comment spam bots?

Yes. Bots usually POST straight to `wp-comments-post.php` without ever loading your
page, so
 hiding the comment form does nothing. Adminkeep refuses those requests
with a 403 before WordPress processes them, and refuses comment creation through
the REST API as well.

### Is Installation Lockdown a security feature?

Not exactly, and it would be dishonest to say otherwise. It is enforced in PHP, 
so anyone with
 filesystem, database or WP-CLI access can bypass it. It reliably
stops accidents and casual changes — a client installing something on a whim, or
uploading a plugin zip from who knows where. Treat it as a policy guard, not a security
boundary.

### Why not just use the DISALLOW_FILE_MODS constant?

Because it cannot be switched off from the admin. Once it is in `wp-config.php` 
you need file
 access to undo it, which strands people. Installation Lockdown filters
capabilities instead, so you can always turn it off from the settings screen. If
you want the harder version, the constant is still there and this plugin does not
interfere with it.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Adminkeep – Disable Comments, Duplicate Posts & Site Lockdown〉
的開發相關工作。

參與者

 *   [ Shazzad Hossain Khan ](https://profiles.wordpress.org/sajib1223/)

[將〈Adminkeep – Disable Comments, Duplicate Posts & Site Lockdown〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/adminkeep)

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

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

## 變更記錄

#### 1.1.0

 * Initial release.

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **3 小時前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/adminkeep/)
 * 標籤:
 * [disable comments](https://tw.wordpress.org/plugins/tags/disable-comments/)[duplicate post](https://tw.wordpress.org/plugins/tags/duplicate-post/)
   [lockdown](https://tw.wordpress.org/plugins/tags/lockdown/)[replace media](https://tw.wordpress.org/plugins/tags/replace-media/)
 *  [進階檢視](https://tw.wordpress.org/plugins/adminkeep/advanced/)

## 評分

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

[撰寫評分](https://wordpress.org/support/plugin/adminkeep/reviews/#new-post)

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

## 參與者

 *   [ Shazzad Hossain Khan ](https://profiles.wordpress.org/sajib1223/)

## 技術支援

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

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