Installing and Configuring the W3 Total Cache Plugin on WordPress
This process takes about 10-15 minutes, and can make your WordPress site feel much snappier.
This article does not apply to our Managed WordPress accounts, which do not work with the W3 Total Cache plugin. Managed WordPress already has an optimized cache, so there's no need to have another caching tool. To see if this applies to you, see What type of hosting account do I have?
- Log in to your WordPress account.
- From the Settings menu, click Permalinks.
- Select a permalink structure, and then click Save Changes.
- From the Plugins menu, click Add New.
- Search for W3 Total Cache.
- Click Install Now under W3 Total Cache, and then click OK.
- Click Activate Plugin.
- From the Performance menu, click General Settings.
- In the Page Cache area, click Enable.
- From the Page Cache Method list, select Disk: Enhanced.
- In the Minify area, click Enable.
- For the Minify mode select Auto.
- From the HTML minified list, select Default.
- From the JS minified list, select JSMin (default).
- From the CSS minifier list, select Default.
- In the Database Cache area, click Enable.
- From the Database Cache Method list, select Disk.
- In the Object Cache area, click Enable.
- From the Object Cache Method list, select Disk.
- In the Browser Cache area, click Enable.
- In the Miscellaneous area, click Optimize disk enhanced page and minify caching for NFS.
- Click Save all settings.
First, clear your cache by clicking Performance, and then empty all caches. You should also visit your site in a different browser because by default, W3 Total Cache does not show cached content for logged in users.
If your site is still having problems, it might be a conflict between W3 Total Cache and another plugin or your theme. To identify which one, follow these steps:
- De-activate all plugins except W3 Total Cache.
- Click Performance, and then empty all caches to clear your cache.
- Check your site in a different browser.
- Enable each plugin, one-by-one, and clear your cache after you activate each plugin until you find which one is the problem.
- You can optionally temporarily switch to one of the WordPress default themes to see if any custom code in your theme interferes with caching.
If you have identified a conflict between W3 Total Cache and another plugin, you need to decide to activate only one of these on your site. You can contact the plugin authors about a potential solution.
If you still cannot get your site to work, you should submit a bug submission form by clicking the Performance tab, and then clicking Support to submit the form for free support and troubleshooting. Then deactivate W3 Total cache temporarily until your support request is handled.
If your site is giving a 500 error and you cannot log in, you need to log in via FTP or via the FTP File Manager and edit your .htaccess file. You should remove all code sections that look like this:
# BEGIN W3TC [section name here]
# END W3TC [section name here]
For more information, see What is .htaccess?