Wordpress Multisite Error

Discussion in 'OpenLiteSpeed Bug Reports' started by tenoch89, Feb 7, 2018.

  1. tenoch89

    tenoch89 New Member

    Hey people, been using OpenLiteSpeed with Cyberpanel and love it and it works on all my sites, however there is a small problem I'm running into with Wordpress Multisite.
    Every time I try to connect to the dashboard of one of the sites on the multisite, it gives me a Too Many Redirects error. It also doesn't seem to be loading the css files.

    The main site and main dashboard works, as does the network dashboard. Here are the relevant Wordpress settings:

    .htaccess

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule>
    
    # END WordPress
    wp-config.php

    Code:
    define('WP_DEBUG', false);
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'aztec.acamapichtli.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

     
  2. lsqtwrk

    lsqtwrk New Member

    Code:
    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]
    Hi, please try this , it ought work.
     

Share This Page