WordPress Caching
Below are the steps to fix the re-writes for both plugins, WP Super Cache and W3 Total Cache.
WP Super Cache Re-Writes
- Go into your File Manager after logging into your cPanel. Please make sure you have Show hidden files checked.
- Find your .htaccess in the document root of the website in question.
- Edit the file and make sure only the parts between “# BEGIN WordPress and # END WordPress” are showing, example below.# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
- Save the file.
WP Total Cache Re-Writes
- Log into your WordPress dashboard.
- Go to the W3 Total Cache general settings page.
- Scroll down to Miscellaneous.
- Make sure the box is checked next to “Verify rewrite rules”.
- Click the Save All Settings button.