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/

屏幕截图

安装

  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!

评价

2024 年 5 月 3 日 1 回复
Good job. Has any way to change the wp-content Folder?
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.
阅读所有3条评价

贡献者及开发者

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

贡献者

「Rename Plugins Folder」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Rename Plugins Folder」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.0.1

  • First release