Skip to content

Stopping WordPress plugins disappearing from the admin page

Sometimes WordPress plugins may suddenly disappear from the Plugins section in the admin dashboard. This usually indicates a deeper issue with your site. On ruachost.com, you can identify the cause and restore your plugins by following these steps.

    • If your site has been hacked, malicious code may be injected into plugin files.
    • WordPress checks plugin metadata when you install, update, or delete a plugin. If metadata is missing or corrupted, WordPress removes the plugin from the list.
    • Hackers often inject malicious code into plugin files.
    • This code may spread to other PHP files across your site.
    • Infected files can send spam, advertise hacker groups, or even launch DDoS attacks.
    • Each plugin requires a header comment with details like name, version, and author.
    • If this metadata is altered or missing, WordPress hides the plugin from the admin page.
  • Check if plugins are missing from the Plugins menu.
  • Review your site for unusual behavior (spam emails, redirects, slow performance).
  • Follow standard cleanup procedures:

    • Back up your site.
    • Scan files with a security plugin (e.g., Wordfence, Sucuri).
    • Remove malicious code from infected files.
    • Replace compromised plugins/themes with fresh copies.
  • Ensure each plugin’s main file contains the required header comment:

    /*
    Plugin Name: Example Plugin
    Plugin URI: https://example.com
    Description: Short description of the plugin
    Version: 1.0
    Author: Author Name
    Author URI: https://author-site.com
    */
  • If metadata is missing, WordPress will not display the plugin.

  • Update WordPress, plugins, and themes regularly.
  • Use strong passwords and two‑factor authentication.
  • Install a firewall plugin to block suspicious activity.
  • Regularly back up your site to restore quickly if compromised.