• Resolved OSD

    (@osd)


    Installed WP Super Cache but the plugin is not working properly.

    With Safari it takes a while to load a page, with Firefox some pages (cached?) or fast but the most pages appear blank.

    I think I have some mismatch in the .htaccess ??

    http://www.oorlogsslachtoffers.nl/

    Need help with this, I’m not a programmer.

    Thanks’ in advance!

    Richard

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter OSD

    (@osd)

    Switched to HALF ON (Super Cache Disabled).

    Now the site works in Safari and Firefox but to slow.

    Could it be the .htacces in root directory?

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /deurne/
    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}/deurne/wp-content/cache/supercache/%{HTTP_HOST}/deurne/$1/index.html.gz -f
    RewriteRule ^(.*) /deurne/wp-content/cache/supercache/%{HTTP_HOST}/deurne/$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}/deurne/wp-content/cache/supercache/%{HTTP_HOST}/deurne/$1/index.html -f
    RewriteRule ^(.*) /deurne/wp-content/cache/supercache/%{HTTP_HOST}/deurne/$1/index.html [L]
    </IfModule>
    # END WPSuperCache
    
    # BEGIN supercache
    <IfModule mod_mime.c>
      AddEncoding gzip .gz
      AddType text/html .gz
    </IfModule>
    <IfModule mod_deflate.c>
      SetEnvIfNoCase Request_URI \.gz$ no-gzip
    </IfModule>
    <IfModule mod_headers.c>
      Header set Cache-Control 'max-age=300, must-revalidate'
    </IfModule>
    <IfModule mod_expires.c>
      ExpiresActive On
      ExpiresByType text/html A300
    </IfModule>
    # END supercache
    
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
    </FilesMatch>
    
    # BEGIN ETag
     FileETag None
    # END ETag
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /deurne/
    
    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_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    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]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /deurne/index.php [L]
    </IfModule>
    # END WordPress

    Thread Starter OSD

    (@osd)

    <<UP>>

    Thread Starter OSD

    (@osd)

    Resolved <<Uninstalled>>

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

The topic ‘Need help with WP Super Cache configuration’ is closed to new replies.