Manually Removing Joomla Components

Posted by on Jan 17, 2020 in Journal

I’ve helped with a Joomla-based hobby site for several years. Another developer I work with added some custom-developed components that were manually added without install/uninstall scripts. All was well, but when the time eventually came that we no longer wanted these components in place, there was no obvious way to remove them from the administrative menus. Removing the component files wasn’t enough.

I had run into this problem before with older versions of Joomla so I knew the basic idea of deleting items from the extensions table, assets, etc. But I never got around to actually doing it for this site. Then I stumbled upon this handy article at MassMediums and I knew the time was right.

Summarizing here in case the link goes dark.


  • Run these queries in your phpMyAdmin
  • Manual removal com_EXTENSION_NAME from Joomla! database
  • Change the #__ to your Joomla! prefix, e.g. #__extensions to jos_extensions
DELETE FROM jos_schemas WHERE extension_id = (SELECT extension_id FROM jos_extensions WHERE type = 'component' AND name = 'com_EXTENSION_NAME');

DELETE FROM jos_extensions WHERE name = 'com_EXTENSION_NAME';

DELETE FROM jos_assets WHERE name = 'com_EXTENSION_NAME';

DELETE FROM jos_menu WHERE type = 'component' AND title LIKE '%com_EXTENSION_NAME%';

DELETE FROM jos_session WHERE  data LIKE '%com_EXTENSION_NAME%';


  • components/com_EXTENSION_NAME
  • administrator/components/com_EXTENSION_NAME
  • media/com_EXTENSION_NAME


  • language/en-GB/en-GB.com_EXTENSION_NAME.ini
  • language/en-GB/en-GB.com_EXTENSION_NAME.sys.ini
  • administrator/language/en-GB/en-GB.com_EXTENSION_NAME.ini
  • administrator/language/en-GB/en-GB.com_EXTENSION_NAME.sys.ini