Articles in this section

How to clear WordPress cache in Plesk

kb: how-to Plesk for Linux ext: wptk ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to clear a WordPress instance's cache on Plesk?

Answer

It's possible to clear WordPress cache using the WP Toolkit command line options.

Linux
  1. Connect to the server via SSH

  2. Run this command and make a note of the desired WordPress instance ID

    # plesk ext wp-toolkit --list

  3. Replace <ID> in this command and run it to clear its cache

    # plesk ext wp-toolkit --clear-cache -instance-id <ID>

Windows
  1. Connect to the server via RDP

  2. Start a Command Prompt or PowerShell

  3. Run this command and make a note of the desired WordPress instance ID

    PS plesk ext wp-toolkit --list

  4. Replace <ID> in this command and run it to clear its cache

    PS plesk ext wp-toolkit --clear-cache -instance-id <ID>

Was this article helpful?

Comments

1 comment
Date Votes
  • I’ve tried that but it is still not working. In SSH it says the wo-toolkit cache is cleared but the relevant ID is still in the list.

    0

Please sign in to leave a comment.