WP Super Cache
-
I can see the static files in the supercache directory but they are not being served to the client. Regardless of which computer, which browser, logged in, logged out, the page source reads:
<!– Cached page served by WP-Cache –>
<!– Compression = gzip –>I have tried hardcoding the .htaccess file but still no success in getting the static files to the client.
Website URL is https://www.microguy.net.
Plugin status: ActiveHere is my .htaccess file:
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*p=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
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} !.*s=.*
RewriteCond %{QUERY_STRING} !.*p=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
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>
# END WPSuperCacheI’m using Godaddy hosting and a virtual domain located in a subdirectory of my main account.
/wwwroot/microguy.net/htdocs/wp-content/cache/supercache/www.microguy.net/
.htaccess file is located in root /htdocs/
I’ve been working on this for 4 hours. Hypercache works perfectly when installed. Please help anyone. Thanks.
- The topic ‘WP Super Cache’ is closed to new replies.