WordPress Caching Rewrites

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

  1. Go into your File Manager after logging into your cPanel. Please make sure you have Show hidden files checked.
  2. Find your .htaccess in the document root of the website in question.
  3. 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

  4. Save the file.

WP Total Cache Re-Writes

  1. Log into your WordPress dashboard.
  2. Go to the W3 Total Cache general settings page.w3tc menu
  3. Scroll down to Miscellaneous.gen settings
  4. Make sure the box is checked next to “Verify rewrite rules”.misc w3tc
  5. Click the Save All Settings button.
Stormy Scott
Stormy Scott Content Marketing Writer

Stormy is a Content Marketing Writer at InMotion Hosting. Her content focus is WordPress, web design, and help articles for small businesses.

More Articles by Stormy

Was this article helpful? Let us know!