GoDaddy Help

Disable WP_CACHE for WordPress

If you're publishing recent changes to your WordPress website and not seeing them live, try disabling WP_CACHE, as this is what allows your website to cache its content. Disabling this feature is done through a file named wp-config.php in your WordPress folder.

Note: Need help? Contact our GoDaddy Guides for information on WP Premium Support.
  1. Edit the wp-config.php for your website. (Web Hosting (cPanel) / Windows Hosting (Plesk) / VPS Hosting)
  2. Locate this section in wp-config.php:
    define('WP_CACHE',true);
  3. Change true to false.
  4. Save your changes.

Next steps

  • Once you're sure that your changes are live, you should change WP_CACHE back to true.

Share this article