---
title: "WordPress Caching Rewrites"
description: "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...."
url: https://www.inmotionhosting.com/support/edu/wordpress/wordpress-caching-rewrites/
date: 2015-07-10
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["WordPress Hosting", "WordPress Tutorials"]
type: post
lang: en
---

# WordPress Caching Rewrites

## WordPress Caching

Below are the steps to fix the re-writes for both plugins, [WP Super Cache](https://www.inmotionhosting.com/support/edu/wordpress/plugins/wp-super-cache/) and [W3 Total Cache](https://www.inmotionhosting.com/support/edu/wordpress/plugins/w3-total-cache/).

### WP Super Cache Re-Writes

1. Go into your [File Manager](/support/edu/cpanel/using-file-manager-in-cpanel/) after [logging into your cPanel](/support/edu/cpanel/how-to-log-into-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$ - RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php # END WordPress
4. Save the file.

### WP Total Cache Re-Writes

1. [Log into your WordPress dashboard](/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. Go to the W3 Total Cache general settings page.[![](/support/images/stories/wordpress/caching/w3tc-menu.png)](/support/images/stories/wordpress/caching/w3tc-menu.png)
3. Scroll down to Miscellaneous.[![](/support/images/stories/wordpress/caching/gen-settings.png)](/support/images/stories/wordpress/caching/gen-settings.png)
4. Make sure the box is checked next to "Verify rewrite rules".[![](/support/images/stories/wordpress/caching/misc-w3tc.png)](/support/images/stories/wordpress/caching/misc-w3tc.png)
5. Click the **Save All Settings** button.
