How to Forcefully Update a Plugin in WordPress?
When a WordPress plugin refuses to update or gets stuck halfway, you can replace its files manually in cPanel File Manager and reactivate it in WordPress. This method bypasses a broken Update button and fixes half-completed updates without losing your plugin's data.
Replace the plugin’s files in cPanel File Manager, then reactivate it in WordPress. This bypasses a stuck Update button and fixes a half‑completed update.
Before you start
- Have cPanel access and a WordPress administrator login.
- Download the latest plugin ZIP from the official source only, for example the plugin’s WordPress.org page or the developer’s site.
- Make sure there is enough free disk space in your hosting account to upload the ZIP.
Step 1: Take a quick backup in cPanel
This protects you if anything needs to be rolled back.
- In cPanel, open Backup or Backup Wizard.
- Create and download at least a Home Directory backup and the site’s database backup.
Step 2: Deactivate the plugin in WordPress
This prevents front‑end errors while you replace files.
- In WordPress Admin, go to Plugins.
- Click Deactivate for the problem plugin. Do not click Delete, as that can run the plugin’s uninstall routine and remove its data.
Step 3: Upload the fresh version in cPanel and replace the old folder
This replaces the plugin’s code with the new version.
- In cPanel, open File Manager and go to public_html/wp-content/plugins.
- Safety net: find the plugin’s folder and rename it to plugin-name.old. This lets you undo the change.
- Click Upload and send the new plugin ZIP into wp-content/plugins.
- Back in File Manager, select the ZIP and click Extract. Confirm the extracted folder name matches the original plugin folder name. If it does not, rename it to match.
Step 4: Reactivate and test
This brings the plugin back online.
- In WordPress Admin, go to Plugins and click Activate on the plugin.
- Check key pages and features that rely on the plugin.
Step 5: Roll back if needed
This restores the previous working version.
- In cPanel File Manager, go to wp-content/plugins.
- Rename the new plugin folder to plugin-name.new, then rename plugin-name.old back to the original folder name.
- In WordPress Admin, refresh Plugins and Activate if required.
If it does not work
- Update button does nothing: your wp-config.php may set DISALLOW_FILE_MODS to true, which disables installs and updates in the dashboard. Replacing files in cPanel, as above, bypasses that block. If you need help reviewing wp-config.php, open a support ticket.
- “Could not create directory” or “Could not copy file”: fix filesystem permissions and check disk quota, then repeat the cPanel method. WordPress recommends 755 for directories and 644 for files. If you want us to check permissions or free space on the server, open a support ticket.
- Stuck on “Briefly unavailable for scheduled maintenance…”: in cPanel File Manager, delete the .maintenance file in your site’s document root, then reload the site.
What next
If you want us to do the replacement or check server permissions and space, open a support ticket and include your site URL, the plugin name and version, and what you saw on screen. Running WordPress on a VPS and want to handle server‑level fixes yourself? Start with our VPS guides, or see our UK locations on our London VPS page.
Common questions
What should I do before updating a plugin manually?
Create a backup of your Home Directory and database in cPanel, then deactivate the plugin in WordPress without deleting it. This protects your data and prevents front-end errors during the replacement.
Why does my WordPress Update button not work?
The most common cause is DISALLOW_FILE_MODS set to true in your wp-config.php file, which disables dashboard updates and installs. Replacing files in cPanel bypasses this restriction.
How do I undo a manual plugin update if something goes wrong?
In cPanel File Manager, rename the new plugin folder to plugin-name.new and rename the .old folder you created back to the original name, then reactivate it in WordPress.
What if I see 'Could not create directory' when updating?
Check your filesystem permissions (WordPress recommends 755 for directories and 644 for files) and ensure you have enough free disk space. Contact support to verify these settings if needed.
Was this article helpful?
0 people found this helpful