Wordpress LScache Plugin: multisite too many redirect issues
Last Updated on: Wed, 15 Apr 2026 00:00:02 Litespeed server from digital ocean one-click droplet. I receive this error in a multisite setup This page isnt working http://www.ccc.com redirected you too many times. The root site works, however, trying to visit the dashboard of the subsite, creates the error. heres my .htcaccess # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] RewriteRule .object-cache .ini ? [F,L] ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php ? [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker LOGIN COOKIE start ### RewriteRule .? ? [E= Cache-Vary:wp-postpass_269ed36f1af2027851c4eec0830cfc1e ] ### marker LOGIN COOKIE end ### ### marker FAVICON start ### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ### marker FAVICON end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm CacheKeyModify -qs:_ga ### marker DROPQS end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END NON_LSCACHE ### Forcing HTTPS rule start RewriteEngine On RewriteCond % HTTPS off RewriteRule (. ) https://% HTTP_HOST % REQUEST_URI [R=301,L] ### Forcing HTTPS rule end # BEGIN WordPress # The directives (lines) between BEGIN WordPress and END WordPress are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteBase / RewriteRule ^index .php$ ? [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond % REQUEST_FILENAME -f [OR] RewriteCond % REQUEST_FILENAME -d RewriteRule ^ ? [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes). ) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(. .php)$ $2 [L] RewriteRule . index.php [L] # END WordPress wpconfig define( WP_DEBUG, false ) / Multisite / define( WP_ALLOW_MULTISITE, true ) define(MULTISITE, true) define(SUBDOMAIN_INSTALL, false) define(DOMAIN_CURRENT_SITE, penpalcheaters.com) define(PATH_CURRENT_SITE, /) define(SITE_ID_CURRENT_SITE, 1) define(BLOG_ID_CURRENT_SITE, 1) Hi, ### Forcing HTTPS rule start RewriteEngine On RewriteCond % HTTPS off RewriteRule (. ) https://% HTTP_HOST % REQUEST_URI [R=301,L] ### Forcing HTTPS rule end get rid of this block first then restart OLS if still error try this rule RewriteEngine On RewriteBase / RewriteRule ^index .php$ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond % REQUEST_FILENAME -f [OR] RewriteCond % REQUEST_FILENAME -d RewriteRule ^/ - [L] RewriteRule ^/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes). ) $2 [L] RewriteRule ^/([_0-9a-zA-Z-]+/)?(. .php)$ $2 [L] RewriteRule . index.php [L] Best regards, Hey, Thanks for taking the time out to help! removing: ### Forcing HTTPS rule start RewriteEngine On RewriteCond % HTTPS off RewriteRule (. ) https://% HTTP_HOST % REQUEST_URI [R=301,L] ### Forcing HTTPS rule end worked Anyone in the future want to restart OLS: /usr/local/lsws/bin/lswsctrl restart
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference