Sometimes your site might not work properly. Usually, if this is going to happen, it will occur during migration or while adding a domain name. If this happens you might not be able to access your WP admin panel. If that happens, how can you dump the cache to test your code and database edits?

No problem! Simply access your site on Indystack's server via SSH.

  1. Open the Terminal on your computer. In Windows you can find it by searching for "Terminal"
  2. In your Indystack admin panel, head to the SFTP & SSH access area. Click the link icon at the end of the SSH field at the bottom.
  3. Paste it into your terminal and hit Enter on your keyboard
  4. You will be prompted for a password. Go back to your SFTP & SSH access page and click the link icon beside the password field.
  5. Paste the password in your terminal. NOTE: You will not see any password in your terminal. Not even any placeholders. When you paste it will look like nothing happened. Simply hit enter, after pasting, and you should now be connected.
  6. Now that you are connected, we must find the home directory for your WordPress site.
  7. Type "dir" and hit enter.
  8. You should see "public" in the results.
  9. Now type "cd public" and press enter. ("cd" is for change directory)
  10. You should now be in the public folder, so let's type "dir" again and hit enter. You should see "public_html" in the results.
  11. Now type "cd public_html" and then enter.
  12. Now type "wp cache flush" and hit enter. You should receive a message that the cache was successfully flushed.

That's it!