Forums

[Plugin: WP Super Cache] Simply not working at all (4 posts)

  1. mactac
    Member
    Posted 3 years ago #

    I switched themes and now my supercache module simply doesn't work.

    The site is w w w . n o i s e a d d i c t s . c o m

    here is my htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    ## Kill Bad spammer bots

    deny from 10.0.0.
    deny from 92.48.121.50
    deny from 92.48.127.
    deny from 94.76.204.102
    deny from 194.8.75.

    allow from all

    ### FOR SUPERCACHE MODULE!

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    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]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    On thing I noticed was that the wp_content/cache/supercache folder wasn't created (I created it manually)

    all the permissions seem to be right

    wp-cache worked with my old theme (i used wp-cache with this one, but supercache works too) , but not the new one... how can that be? when I switch back, it works....

    help !

  2. mactac
    Member
    Posted 3 years ago #

    Oh, and when I say "simply not working at all" I mean that the supercache tags don't show up at all in my page.... not even indicating that it wasn't cached, they just are not there.

  3. dev22
    Member
    Posted 3 years ago #

    you need to put "# BEGIN WordPress" part below the supercache part in htaccess to make it work

Topic Closed

This topic has been closed to new replies.

About this Topic