WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have WP Super Cache working perfectly on all pages of my blog except for the homepage. I'm using the PHP caching method (mod-rewrite is not compatible with my specific configuration with suPHP).

I've monitored the debug log and cache folder and can see that the cache file is created successfully, but when its reloaded wp-super-cache cannot find it and recreates it. A big clue seem to be that if I load the index.php file directly it works i.e.

www.site.com/blog/ <--- Cannot find cache file

www.site.com/blog/index.php <--- Able to find cache file (caching works!)

Im using the following permalink structure;


The .htaccess file is standard for the permalink structure

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]

I'm using the following DirectoryIndex directive in my virtual machine config.

DirectoryIndex index.php

I've tried everything I can think of to resolve this including using the inotify package to monitor real-time file system activity to see what file name its looking for but it didn't help. Any assistance would be greatly appreciated.

share|improve this question

migrated from serverfault.com Feb 27 '13 at 14:37

This question came from our site for system and network administrators.

Check that the path in your .htaccess rules matches where the supercache directory is. You may have to hardcode it. Or use the plugin in PHP or legacy caching mode.

share|improve this answer
I am using it in PHP mode as I said in the first sentence.Thanks. – Michelle Mar 9 '13 at 17:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.