Skip to main content

Reinstalling a WordPress Plugin Without Losing Data

Ryan Lewis avatar
Written by Ryan Lewis
Updated over a month ago

If a WordPress plugin is not working correctly, you can force a reinstall without losing your plugin settings or data. This method works for both active and inactive plugins.

Note: This method is intended for advanced users familiar with plugin files. Always back up your website before making changes.

Step-by-Step Instructions

  1. Log in to your WordPress Dashboard.

  2. From the left-hand menu, navigate to Plugins > Plugin File Editor.

    WordPress-plugin-file-editor.gif
  3. In the Select plugin to edit dropdown, choose the plugin you want to reinstall and click Select.

    WordPress-plugin-file-editor-menu.gif
  4. Locate the plugin version line in the file editor, for example:

    Version: 1.7.2

    Change it to a lower version number, for example:

    Version: 1.7.1

    (wp-plugin-edit-hellodolly-version.gif)

    Important: Only decrease the version number to trigger a reinstall. Do not increase it.

    wp-plugin-edit-hellodolly-version.gif
  5. Scroll down and click Update File.

  6. Return to the Installed Plugins list. You will see an update available for the plugin you edited. Click Update Now.

    wp-plugin-update-hellodolly.gif

Notes

  • This method allows WordPress to reinstall or “roll back” the plugin while keeping all existing data intact.

  • Always back up your website before editing plugin files.

  • If unsure, consider using a staging site to test the plugin reinstall before applying it to your live site.

Did this answer your question?