Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Case sensitivity in cache directory?

  • For some historical reason, the directory where my blog lives is named MYBLOGNAME.ORG (upper case). When I look in the wp-content/cache/supercache sub-directory, it is empty (the meta directory has like 7 files in it). When I generate Super Cache statistics, it lists a few pages for WP Cache, but zero for Super Cache.

    Now, I see that in the host file system there is ANOTHER directory named (lower case), and ALL it has under it is a wp-content/cache/supercache/ directory that basically a cached copy of my whole blog.

    So, is something wrong? Should I change something? Should the Super Cache statistics show the 1100 files in the blog instead of zero?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I looked at the mod_rewrite rules, and see

    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz" [L]

    That’s clearly not going to find the cached files which are not under the DOCUMENT_ROOT, but under a lower-cased version of it.

    So the question is whether I should hack the mod_rewrite rules to find where WP Super Cache put the cached pages, or fix WP Super Cache to put them in the right place to begin with.

    Plugin Author Donncha O Caoimh


    Grab and copy in to your plugins/wp-super-cache/ folder and clear the cache. Does that fix the problem? I fixed a case problem just after the last release that may affect you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Super Cache] Case sensitivity in cache directory?’ is closed to new replies.