How to remove pre-installed extensions on Joomla

Normally to remove an extension you would go to:

  • J4: System > Extension > Manage
  • J3: Extensions > Manage > Manage

However, you cannot remove the extensions that come with Joomla at installation. When trying to remove these extensions (for example, Banners) you will receive the error:

The extension "com_banners" is locked and cannot be uninstalled.

By default, these extensions are protected and you cannot delete them. In this article, I will show you how to remove it.

Important: I do not recommend removing these extensions, as some of them may affect your website. Before doing anything, you should back up your website first.

 

Protected extensions include:

  • Banners
  • Contacts
  • Media
  • Private Messages
  • News Feeds
  • Content
  • Privacy

There will be some extensions I don't list here because of their importance. Your site may not work if you delete it =)).

-------------

First, you need to access the site's database (using your hosting's phpMyAdmin or a 3rd party application).

Next, you go to the table [PREFIX]_extensions ([PREFIX] is the prefix of the table when you set it up).

Here, you find the "locked" and "protected" columns of the table, which will have the value 0 or 1. If an extension is set to 1, you will not be able to delete it.

Next, find the name of the extension you need to delete (in the list above), change the value of the "locked" and "protected" columns from 1 to 0. In case the value of the "protected" column is 0, then you keep it.

Now, you can delete these extensions as usual.

You may also like

How to upload and attach files to Joomla articles

K2 to Content Migration

File Manager Extension for Joomla

Say something here...
You are a guest ( Sign Up ? )
or post as a guest
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.


Powered By JLex Comment.