Hi kleinburd,
LiteSpeed Cache will work properly on sub-directory.
You should not have any issues with it. 🙂
Regards,
Hectorsky
Hi,
I have this same question. I’ve found that litespeed cache doesn’t work if I have WordPress installed in a subfolder then have wp accessed from public_html/. I have to copy the LScache code from the .htaccess in the WP folder to the other .htaccess
For example, if WordPress is installed in public_html/wordpress and is accessed via example.com instead of example.com/wordpress/
public_html/.htaccess
public_html/wordpress/.htaccess
I also saw this help topic on it but it’s from 2016
https://www.litespeedtech.com/support/forum/threads/resolved-latest-wordpress-plugin-can-not-find-wordpress-outside-of-root.14195/
Is there a setting I’m missing or a way to make it work without having to copy the code to public_html/.htaccess ?
Thanks,
John
Hi ottomek,
If i can ask, what version of LiteSpeed Webserver you use?
OpenLiteSpeed Or LiteSpeed Enterprise?
If you have OpenLiteSpeed the WordPress sub-directory probably .htaccess won’t work.
If you have a LiteSpeed Enterprise with .htaccess enabled this should work properly.
About location of LSCache, probably there is no difference. (this should be in a root of your account)
Best Regards,
Hectorsky
-
This reply was modified 7 years, 8 months ago by
Hectorsky.
-
This reply was modified 7 years, 8 months ago by
Hectorsky.
Ah, that may explain it.
I’m not sure. I’m using it at A2 Hosting in their shared plans. I just looked LScach plugin >> Reports but I don’t think the version is listed there. I don’t see anything in the cpanel.
Besides emailing A2 tech support is there a way I can the version myself?
John
Plugin Support
qtwrk
(@qtwrk)
Hi,
If you have WP in sub-site , and want to use / URI , try following rules in root .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{http_host} ^your_domain\.com$
RewriteCond %{request_uri} !^/wordpress(/.*)$
RewriteRule ^(.*)$ /wordpress/$1 [L,QSA]
</IfModule>
Best regards
-
This reply was modified 7 years, 8 months ago by
qtwrk.
-
This reply was modified 7 years, 8 months ago by
qtwrk.