Wordpress multisite error

edited February 6 in Bug Report

Hey people, been using 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

# 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

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);

Comments

  • Hello !

    Can you please email all related login information to : support [@] cyberpanel [dot] net

    Or join our discord channel from top right corner.

    Regards

  • For other people reference:

    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]

    This will solve the multisite issue.

Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion