Title: [Plugin: WP Super Cache] help,doesn&#8217;t work when wp in sub directory
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] help,doesn’t work when wp in sub directory

 *  [funbsd](https://wordpress.org/support/users/funbsd/)
 * (@funbsd)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-helpdoesnt-work-when-wp-in-sub-directory/)
 * I install wordpress in a sub directory ‘/home/www/wp’.
    wp-super-cache doesn’t
   work, it always said: <!– Dynamic Page Served (once) in 0.956 seconds –> Can 
   anyone help me? Thanks!!!
 *     ```
       <VirtualHost *:*>
           ServerName www.domain.net
           DocumentRoot /home/www
   
           <Directory />
               Options -Indexes +FollowSymLinks +SymLinksIfOwnerMatch
               AllowOverride None
               Order Allow,Deny
               Allow from All
   
               RewriteEngine On
   
               RewriteBase /
               AddDefaultCharset UTF-8
               RewriteCond %{REQUEST_METHOD} !=POST
               RewriteCond %{QUERY_STRING} !.*=.*
               RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
               RewriteCond %{DOCUMENT_ROOT}/wp/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
               RewriteRule ^(.*) /wp/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
   
               RewriteBase /wp/
               RewriteCond %{REQUEST_FILENAME} !-f
               RewriteCond %{REQUEST_FILENAME} !-d
               RewriteRule . /index.php [L]
   
           </Directory>
   
           <Directory /home/www/wp/wp-content/cache>
               AllowOverride None
               Header set Cache-Control 'max-age=300, must-revalidate'
               ExpiresActive On
               ExpiresByType text/html A300
           </Directory>
       ```
   

The topic ‘[Plugin: WP Super Cache] help,doesn’t work when wp in sub directory’ 
is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [funbsd](https://wordpress.org/support/users/funbsd/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-helpdoesnt-work-when-wp-in-sub-directory/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
