How to uninstall a plugin in Moodle
🔹 Step 1: Uninstall the Plugin from Moodle Dashboard
- Log in to your Moodle site as an Administrator.
- Go to the Site administration menu.
Navigate to Plugins > Plugins overview.
Find the plugin you want to remove.
Click the Uninstall link next to it.
- Moodle will remove the plugin’s database entries and disable it.
- However, the plugin files will still remain on your server. That’s why we’ll do the next steps.
🔹 Step 2: Access Your Server Files
You have two ways to access the Moodle server files:
Option A – Using cPanel File Manager
- Log in to your web hosting cPanel.
- Open File Manager.
- Navigate to the folder where your Moodle site is installed (usually
public_html/moodle
or justpublic_html
).
Option B – Using FTP (File Transfer Protocol)
- Download and install an FTP client (e.g., FileZilla).
- Connect to your server using your hosting account’s FTP login details.
- Navigate to your Moodle site folder.
🔹 Step 3: Locate the Plugin Folder
- Inside your Moodle folder, open the directory where plugins are stored.
- For activity modules →
moodle/mod/
- For blocks →
moodle/blocks/
- For themes →
moodle/theme/
- For local plugins →
moodle/local/
- For others (like enrolments, reports, filters), the location depends on plugin type.
- For activity modules →
- Find the folder with the same name as the plugin you want to delete.
🔹 Step 4: Delete the Plugin Folder
- Right-click the plugin’s folder.
- Select Delete (in cPanel) or Remove (in FTP).
- Confirm deletion.
🔹 Step 5: Clear Moodle Cache
Log back into your Moodle site.
Go to Site administration > Development > Purge caches.
Click Purge all caches.
- This ensures Moodle recognises that the plugin has been fully removed.