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/

スクリーンショット

  • Inspecting elements you should see the new plugins folder name
  • 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!

評価

2024年5月3日 1 reply
Good job. Has any way to change the wp-content Folder?
2021年4月19日 1 reply
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