[WordPress] 外掛分享: Rename Plugins Folder

首頁外掛目錄 › Rename Plugins Folder
WordPress 外掛 Rename Plugins Folder 的封面圖片
300+
安裝啟用
★★★★★
5/5 分(3 則評價)
98 天前
最後更新
問題解決
WordPress 4.6+ PHP 5.6+ v0.0.1 上架:2021-02-16

內容簡介

出於安全考量,人們通常會重新命名任何類型的資料夾,但他們並不會重新命名外掛資料夾。

重新命名外掛資料夾將增強您的網站保護力度。

惡意機器人會掃描網絡以尋找具有易受攻擊的外掛的網站。

大多數情況下,它們會通過檢查頁面 HTML 中的 wp-content/plugins 路徑來檢測外掛。

如果路徑是例如 wp-content/extensions 而不是 wp-content/plugins,可能惡意機器人就無法檢測到任何外掛。

此外掛只是將外掛資料夾更名並更新 wp-config.php 檔以讓您的網站與新資料夾名稱一起運作。

它不會將任何東西存儲在資料庫中。

它是提供給不知道如何修改 wp-config.php 的用戶使用的,如果您知道,當然您真的不需要此外掛。

我們建議在重新命名外掛資料夾之前進行備份,特別是 wp-config.php 檔案,這樣如果出現問題,您就可以輕鬆返回到之前的備份。

如果您的主題或其中一個外掛程序不遵循最佳實踐以參考外掛資料夾,可能會出現問題。

通常,主題和外掛程序的作者都知道他們必須採用最佳實踐來參考外掛資料夾。

如果其中一個外掛程序或主題出現問題,我們建議恢復原始資料夾名稱,但寫信給出現問題的外掛作者。

您可以在「外掛 => 重新命名外掛資料夾」中找到這些選項。

如何重新命名外掛資料夾

安裝並啟用「重新命名外掛資料夾」外掛
為讓您非常確定,請備份包括在主目錄中的 wp-config.php 檔案
前往「外掛 => 重新命名外掛資料夾」
為外掛資料夾指定一個新名稱
點擊「重新命名」

示範

如果您想在安裝外掛之前查看後端,您可以在https://wpdemo.net/上查看示範。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Rename Plugins Folder」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Usually, for security reasons, people rename any kind of folder, but they don’t rename the plugins folder.
Renaming the plugins folder makes the protection of your website stronger.
Bad robots scan the net to find websites that have vulnerable plugins.
Most of the time they detect the plugins by checking the path wp-content/plugins in the page HTML.
If instead of wp-content/plugins the path is for example wp-content/extensions, probably the bad robot will not detect any plugin.
This plugin just renames the plugins folder and updates the wp-config.php file to make work your website with the new folder name.
It doesn’t save anything in the database.
It’s for the users who don’t know how to modify the wp-config.php file, if you know it, of course you don’t really need this plugin.
We recommend making a backup before renaming the plugins folder, especially of the file wp-config.php, so you can easily go back in case you have issues.
Issues may occur if your theme or one of your plugins doesn’t follow the best practices to refer to the plugins folder.
Normally, the authors of themes and plugins know that they must refer to the plugins folder by adopting best practices.
If one of your plugins or the theme gives issues, we suggest restoring the original folder name but writing the author of the plugin that was giving the issue.
You will find the options in Plugins => Rename Plugins Folder
How to rename the plugins folder

Install and activate the plugin Rename Plugins Folder
To be very sure, make a backup of the file wp-config.php that is included in the main directory
Go to Plugins => Rename Plugins Folder
Assign a new name for the plugins folder
Click on “Rename”

Demo
If you want to have a look at the backend before installing the plugin, you can see the demo on https://wpdemo.net/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon