Clear Cache Everywhere
Settings
In the admin area of your site, navigate to Tools > Clear Cache Everywhere.
- Rewrite Rules: Clears and regenerates WordPress rewrite rules. This ensures permalinks, custom post types, and taxonomy URLs function correctly—especially after changes to
.htaccess
or permalink settings. Sometimes sites do not like to process this request regularly, so if you are seeing that it's failing to refresh your rewrite rules, you can disable this and do it manually from the Settings > Permalinks page simply by resaving the settings. - WordPress Object Cache: Flushes the WordPress object cache using
wp_cache_flush()
. This clears cached objects stored in memory to force fresh data retrieval. - Transients: Removes all stored transients from the database. This helps refresh data that might be outdated, such as cached API responses or temporary settings.
- Sessions: Destroys all PHP sessions for the current request. This can help reset user-specific data stored in sessions, such as login states or cart info.
- Cookies: Deletes most cookies by expiring them, except those essential for keeping logged-in WordPress users logged in. Useful for resetting client-side data and simulating fresh visits.
- Browser Cache: Sends no-cache headers to the browser to prevent it from using outdated versions of assets or pages. This forces browsers to re-fetch content.
- Hosting Cache: If your web host supports external cache purging via a URL, this setting will simply request that URL to clear your host’s server-level cache. Handy for platforms like GoDaddy (Website Security Firewall), Kinsta, or WP Engine.
Clearing the Cache
It's easy! Just use the "Clear Cache" link in the admin bar or click on the "Clear Cache Now" button in the settings. That's it!