Websites & Apps

Solve the problem of deleting the plugins folder and ways to disable WordPress plugins in the correct way

DROPIDEA By Admin
June 1, 2025 6 views
DROPIDEA | دروب ايديا - Solve the problem of deleting the plugins folder and ways to disable WordPress plugins in the correct way

It may seem that disabling WordPress plugins is very simple, but in reality, uninstalling or deleting some plugins in the wrong way can lead to some problems and threats to your site, and can leave a lot of useless data, tables, and redundant files on the site and occupy storage space in the hosting. In this article, we will learn the correct way to disable all WordPress plugins that you have downloaded on your site in the event that you are unable to access the site’s control panel as a result of installing one of the plugins, without causing unnecessary problems.

Article contents  

How to solve the problem of deleting the plugins folder? What do I do if I deleted the plugins folder from my site?

Steps to disable WordPress plugins in one step: 1. Deactivate

All site add-ons through the site file manager 2. Deactivate all add-ons using phpMyAdmin Delete the add-on that caused problems on your site 1. Search on Google for a way to remove the add-on from its official website 2.

The extension itself may remove all data and settings automatically A3.Use a custom extension to delete all attachments of the extension   Advanced Database Cleaner extension 

addition  

Database Cleanup WP-Optimize Plugin WP-Sweep Plugin 4. Remove remaining shortcodes from the deleted plugin How does the problem of deleting the plugins folder occur? We all know that there are a huge number of WordPress plugins that provide many features to websites, and the user often wants to try many of these plugins to help him customize his site and obtain additional benefits.

Since these add-ons are external components and not part of the WordPress system itself, installing an add-on from an unknown source or an add-on that is incompatible with your site components may cause an error that leads to the entire site crashing and losing access to the site’s control panel. Usually, the preferred behavior in this case while troubleshooting WordPress is to completely disable WordPress plugins from within the site’s control panel itself, and try activating plugins one by one in succession until it is known which plugin caused the error to delete it from the site. But it may not always be that simple because the error may prevent the site administrator from entering his site's control panel.

Then, other methods are needed to uninstall these additions. One of the wrong ways that beginners may do is to browse their site folders via FTP or via the cpanel hosting control panel to access the plugins folder located in the wp-content folder inside the site's root folder and then completely delete it from the site with all its contents, or delete all the plugins subfolders inside it thinking that this will solve the problem from its roots. Unfortunately, this method is wrong and not preferable, because you will lose all the add-ons and their settings on your site, including the add-ons that did not cause any problem, and you will not be able to reactivate them quickly, and you will have to re-download all your add-ons again, activate them, and set them up again one by one.

What do I do if I deleted the plugins folder from my site? The only way to fix what happened is by trying to restore the plugins folder and the files in it from a previous backup of your site. Therefore, if you have created a backup copy of your site, this is excellent. If you do not have one, you can contact your site hosting to obtain it.

If you are unable to do this, then you will have to access the file system again, create an empty folder called plugins again, install all the plugins and set them up again again. So that you do not have to do this, we will show you in the following paragraphs the correct way to deactivate add-ons on your site at once and delete only the add-on causing the problem.

We will explain the steps to disable WordPress plugins in one step

Two different ways to deactivate all site add-ons in one step if you cannot access your site’s control panel: 1. Deactivate all site add-ons through the site file manager 1- Log in to your site’s hosting control panel (cPanel). < ثم النقر فوق مدير الملفات (File Manager )، ثم الانتقال للمجلد Public_html < ثم wp-content < ثم اختر المجلد plugins ملاحظة: يمكنك بشكل بديل الاتصال بموقعك عن طريق بروتوكول نقل الملفات FTP واستعرض ملفات ومجلدات الموقع حتى تصل للمجلد المختص بتخزين الإضافات في موقعك plugins الموجود داخل مجلد wp-content . 2- حدد المجلد plugins بزر الماوس الأيمن واختر الأمر إعادة التسمية (Rename) من قائمة الخيارات، وقم بتسمية المجلد بأي اسم آخر تختاره مثلاً plugins.old 3-بمجرد إعادة تسمية المجلد plugins لأي اسم آخر غير اسمه الأصلي سوف يقوم تلقائيًا بتعطيل كافة إضافات ووردبريس الموجودة في موقعك، وذلك لأن ووردبريس يبحث عن المجلد plugins لتحميل إضافات الموقع، وإذا لم يتمكن من العثور عليه فسوف يقوم بصورة آلية بتعطيل كافة الإضافات النشطة في قاعدة بيانات الموقع. 4-قم الآن بالدخول إلى لوحة تحكم موقعك -يجب أن تتمكن الآن من الدخول للوحة تحكم الموقع بدون مشاكل-.

Click on the Plugins tab and you will notice that all plugins on your site have been disabled. 5-Then you can rename the plugins folder again, and do not worry, the plugins will remain inactive. Then you have to activate the plugins from the control panel (activate one plugin at a time until your site crashes again).

6-When your site crashes again, you will know exactly which add-on caused the problem. You must then delete only this plugin folder from your site. 2.

Deactivate all plugins using phpMyAdmin There is another way that enables you to disable WordPress plugins on your site at once using the database manager phpMyAdmin. This is done by following the following steps: 1- First, make a complete backup of the site’s database to ensure its recovery in the event of any error. 2-Then log in to the cPanel hosting control panel.

Click on the phpMyAdmin icon under the DATABASE section. 3-Find the table named wp_options. This table includes all your site options. Search for the active_plugins option, then click the Edit link next to this option.

4- The following window will appear, in which you will need to change the option_value field to the value a:0:{} and then click the Go button to implement the modifications. 5- Thus, you have deactivated all WordPress plugins using the database management program phpMyAdmin. You should be able to log in to your site now.

6- Now activate the add-ons one by one to find out which add-on caused the problem, as we explained to you in the previous paragraph. Caution: It is always best to back up your database before making any direct changes to it, this way you can always revert to the old version in case something goes wrong. Delete the add-on that caused problems on your site. It is necessary after you uninstall the add-on that caused you problems and that you no longer want to use on your site.

So that you do not pose security threats or other problems on your site. Simply deactivating the plugin that caused the problem from the control panel or deleting the plugin folder from within the plugins folder may not usually remove all of its files from your site. Some plugins leave a trace on your site by leaving some files outside the plugins folder or some tables in the database and they will not be deleted when you uninstall the plugin this way.

Keeping unnecessary files on your site also increases the size of your WordPress backup, and downloading or restoring a backup will take longer. In the next paragraph we will explain to you how to delete and remove all other files associated with the plugin that you do not want to use again on your site. 1.

Search on Google for a way to remove the add-on from its official website. Most external add-ons often have their own website, providing the user with a way to remove it from WordPress appropriately. We will take the Updraft plus add-on as an example. We will search for a way to remove the Updraft plus add-on from WordPress. We will find the results as in the following image: You will get reliable information from the company itself on how to remove the add-on and all its settings in the correct way, and it will not take you any more time. All you have to do is search and then follow the attached instructions. 2. The add-on itself may remove all data and settings automatically in properly developed add-ons. When the user performs the Uninstall procedure, the user will be presented with options to completely remove the add-on along with all files and settings, as in the following example.

We will delete the Elementor add-on by clicking on the (Disable) button. You can choose the reason for deactivation or skip this step and then press Delete. A message will appear as you see in the second image (Are you sure you want to delete the Elementor add-on and its settings?). After pressing Delete, the add-on and all its belongings will be completely removed. Although it is easy to remove the Elementor add-on because it allows it to delete all its data, there are many add-ons that do not allow users to do this feature, as is the case in the following example. When we wanted to delete the webinar press add-on, a message appeared only (Are you sure you want to delete WebinarPress), which means that if you agree to the deletion, it will not be deleted with all the settings as in the Elementor add-on, so pay attention to this point.

3. Use a custom add-on to delete all of the add-on’s attachments. First, make a backup copy of your site’s files. After that, you can install a custom add-on that helps you completely remove all the basic files and settings of any add-on that you do not want to use on your site. Below we list the most important of these additions.

Add Advanced Database Cleaner You can add Advanced Database

Cleaner cleans your database by deleting items you no longer use, such as old versions and spam, to reduce the size of your database and improve website speed and performance. In addition, you will have a faster database backup because the backup file will be smaller.

Add Database Cleanup using Plugins Garbage Collector

You can scan the WordPress database, and check it to show tables that you can't see in your WordPress dashboard. WP-Optimize plugin WP-Optimize Cache plugin caches your site and cleans your site's database. It also allows you to cache site pages, to make loading times super-fast.

WP-Sweep add-on Through the WP-Sweep add-on you can clean

Unnecessary data in your database, including redundant data that is no longer used and tables left over from old additions. 4. Remove the remaining shortcodes from the deleted plugin. You can do this by using the Remove Orphan Shortcodes plugin, as this plugin deletes inactive shortcodes from your WordPress site, which were previously used with previous plugins and templates.

Read also: What is a short code? The most prominent examples of its uses are a conclusion. As a website owner, you may need to disable all WordPress plugins from your site in the event of an emergency that prevents you from entering your site’s control panel if you are unable to identify and know the plugin that is causing you problems. But doing this task incorrectly by deleting the entire plugins folder will even cost you more time and effort.

So, through this article, we explained to you the correct ways to deactivate all add-ons at once, find out which add-on is causing the problem, and delete it completely from your site to solve the problem from its roots.

DROPIDEA

We hope this article has added real value to you. At DROPIDEA, we always strive to deliver high-quality content that helps you grow and evolve in the digital space. Follow us for more useful articles and guides.

Share Article