How to disable a plugin from command line for Joomla 3.x

Disabling a plugin in Joomla 3.x from the command line can be done using the following steps:

Navigate to the root directory of your Joomla installation.

Type the following command to open the MySQL command prompt:

use username_database;

Replace username_database with the name of your Joomla database.

Type the following command to disable the plugin:

UPDATE `prefix_extensions` SET `enabled`='0' WHERE `type`='plugin' AND `element`='plugin_name';

Replace ‘plugin_name‘ with the name of the plugin you want to disable and ‘prefix_‘ with your mysql prefix

Refresh your Joomla website to confirm that the plugin has been disabled.

Note: Before making any changes to your website’s database, it’s recommended to make a backup of your website’s database and files.

mysqldump username_database > username_database_bk.sql


Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *