Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Once you selected your child theme, go back to the Menus configuration and choose your Menu in the Theme Locations panel

    Yes, that was it! Thanks sigma6!

    Nice work Acolonna!

    I noticed that if WordPress is not installed at the top of the domain, then WP Super Cache doesn’t seem to build the rules properly — it will set RewriteBase to the appropriate directory but doesn’t then use that folder in RewriteCond and RewriteRule, causing the matches to fail.

    For example, if WP is installed into the /xx folder, the rules built will be:

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

    when it should be:

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

    I like your modification of the RewriteRule too; I noticed I was seeing an extra trailing backslash (in the RewriteLog) like:

    path//index.html.gz

    Another way to fix this up is:

    RewriteRule ^(.*?)/*$ /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]

    It doesn’t show the gzip message any more. It’s ok.

    Thanks donncha — I think the FAQ section of the 0.9.6.1 readme.txt file still talks about seeing the gzip message — might be part of the confusion.

Viewing 3 replies - 1 through 3 (of 3 total)