Advanced configuration snippet & sub directory
-
Hi,
I’ve been using Cache Enabler for over 2 months now and find very effective.
Just wanted to know what exactly to change in your Advanced Configuration snippet if WordPress is located in a sub-directory (www.example.com/blog/), for Apache version < 2.3.9.
Do I just have to change this line?
SetEnvIf Request_URI "^(.*)$" SUB_PATH=/wp-content/cache/cache-enabler/
to
SetEnvIf Request_URI "^(.*)$" SUB_PATH=/blog/wp-content/cache/cache-enabler/
Also, do I have to change this line too?
RewriteBase /
And one final question. Where should I add the code snippet (.htaccess file located in the root, or to the one in the
/blog
directory)TIA.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Advanced configuration snippet & sub directory’ is closed to new replies.