Title: Rename Plugins Folder
Author: Jose Mortellaro
Published: <strong>2021 年 2 月 17 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/rename-plugins-folder/assets/banner-772x250.png?rev=2652811)

![](https://ps.w.org/rename-plugins-folder/assets/icon-256x256.png?rev=2652811)

# Rename Plugins Folder

 作者：[Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[下载](https://downloads.wordpress.org/plugin/rename-plugins-folder.0.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/rename-plugins-folder/#description)
 * [评价](https://cn.wordpress.org/plugins/rename-plugins-folder/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/rename-plugins-folder/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/rename-plugins-folder/#developers)

 [支持](https://wordpress.org/support/plugin/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

 1. Install and activate the plugin Rename Plugins Folder
 2. To be very sure, make a backup of the file wp-config.php that is included in the
    main directory
 3. Go to Plugins => Rename Plugins Folder
 4. Assign a new name for the plugins folder
 5. 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/](https://wpdemo.net/demos/plugins/rename-plugins-folder)

## 屏幕截图

[⌊Inspecting elements you should see the new plugins folder name⌉⌊Inspecting elements
you should see the new plugins folder name⌉[

Inspecting elements you should see the new plugins folder name

[⌊Plugins settings in Plugins => Rename Plugins Folder⌉⌊Plugins settings in Plugins
=> Rename Plugins Folder⌉[

Plugins settings in Plugins => Rename Plugins Folder

## 安装

 1. Upload the entire `rename-plugins-folder` folder to the `/wp-content/plugins/` 
    directory or install it using the usual installation button in the Plugins administration
    page.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. After successful activation you will be automatically redirected to the plugin 
    global settings page.
 4. All done. Good job!

## 评价

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

### 󠀁[The best plugin](https://wordpress.org/support/topic/the-best-plugin-368/)󠁿

 [Klodi](https://profiles.wordpress.org/albania/) 2024 年 5 月 3 日 1 回复

Good job. Has any way to change the wp-content Folder?

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

### 󠀁[Simply Brilliant!](https://wordpress.org/support/topic/simply-brilliant-88/)󠁿

 [rickstar123](https://profiles.wordpress.org/rickstar123/) 2021 年 4 月 19 日 1
回复

A very simple plugin that does exactly what it says. I was about to get my hands
dirty and start messing around with the wp-config.php, but this did it all in 5 
seconds flat and saved me the stress of messing it up. Thank you so much.

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

### 󠀁[Perfect for lazy people](https://wordpress.org/support/topic/perfect-for-lazy-people/)󠁿

 [DOT – Lord G.](https://profiles.wordpress.org/wihoming/) 2021 年 2 月 25 日 1 
回复

Simple and light as a feather. One more tool for site security.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/)

## 贡献者及开发者

「Rename Plugins Folder」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

「Rename Plugins Folder」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/rename-plugins-folder/contributors)
为本插件所做的贡献。

[帮助将「Rename Plugins Folder」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/rename-plugins-folder)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/rename-plugins-folder/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/rename-plugins-folder/)，或通过[RSS](https://plugins.trac.wordpress.org/log/rename-plugins-folder/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/rename-plugins-folder/)。

## 更新日志

#### 0.0.1

 * First release

## 额外信息

 *  版本 **0.0.1**
 *  最后更新：**3 周前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/rename-plugins-folder/) 和 [Italian](https://it.wordpress.org/plugins/rename-plugins-folder/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/rename-plugins-folder)
 * 标签
 * [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/rename-plugins-folder/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/rename-plugins-folder/reviews/)

## 贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/rename-plugins-folder/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://buymeacoffee.com/josem)