Forums

[Plugin: WP Super Cache] Cache on subdomain (3 posts)

  1. dimenster
    Member
    Posted 2 years ago #

    I like to cache on a subdomain and I have changed in the .htaccess file the

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

    --

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

    But the plugin is still caching on the main domain instead of the subdomain? What do I wrong?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Posted 2 years ago #

    The plugin will cache wherever it's installed. Do you have WordPress installed on the subdomain?

  3. dimenster
    Member
    Posted 2 years ago #

    Actually I would like to use the subdomain for caching is that possible?

Topic Closed

This topic has been closed to new replies.

About this Topic