How to Uninstall the Imagify Plugin

It is important to restore your images back to the original version before uninstalling the Imagify plugin.

Uninstalling the plugin will not revert your images back by default.

In order to restore your images back to their original version, please follow the guide on How to Restore Media Library Images To Original

You can uninstall Imagify in the two following ways:

From the WordPress admin

You can uninstall Imagify as any other plugin.

On the Plugins tab, you click to Deactivate Imagify and then Delete the plugin.

Manually

You will have to connect via SFTP and delete the wp-content/plugins/imagify folder.

Also please make sure to check and delete the [wordpress-root]/wp-content/uploads/backup folder and [wordpress-root]/imagify-backup folder (if it exists).

Note if you need to delete your database entriesBefore deleting your database entries, you will have to be absolutely sure that you have restored all your files properly.

Also, you have to be absolutely sure to have made a full website and database backup before trying this!

The following should remove the data related to Imagify from your database (make sure you’ve uninstalled the Imagify plugin first):

DELETE FROM wp_postmeta where meta_key = '_imagify_status' or meta_key = '_imagify_optimization_level' or meta_key = '_imagify_data'

Be sure to replace the “wp_” part with your database’s prefix. If you’re not sure what your database’s prefix is, you should be able to find this in your wp-config.php file.

You can go into your hosting account’s PHPMyAdmin to run the above MySQL command on your database.