- This topic is empty.
-
AuthorPosts
-
January 16, 2023 at 9:34 pm #3752
Richard
GuestHas anyone been able to set up using the Multisite function enabled?
I had CF set up to Full SSL but still get a redirect loop when trying to visit /wp-login.php on two tries (using two different domains, one I bought brand new because the other has HSTS pre-enabled to phase out that problem). Adminer works just fine though, so there’s handshakes with the server but just something wrong with the WordPress connection.
January 17, 2023 at 5:23 am #3753Kimberly
GuestTracing the problem down to define(‘NOBLOGREDIRECT’, in wp-config, with the no blog pointing to http://www.tld.com where there is no site defined during installation (I did update to include it in ss-config afterward but it doesn’t seems to update the site). I’ll try another fresh installation with www included in the site name to see if that fixes it; this probably should be highlighted more in the wizard…
January 17, 2023 at 5:51 am #3755Isabella
GuestI think you need to run Tools >> Network Setup first in your WP Admin if this is a new install?
January 17, 2023 at 9:21 am #3766Stephanie
GuestJanuary 17, 2023 at 9:25 am #3767Roy
GuestI think you need to run Tools >> Network Setup first in your WP Admin if this is a new install?
This.
The problem is that WordPress doesn’t have any way to programmatically to activate Multisite in the database, so for SlickStack you have to comment out the Multisite constants in your
wp-config.phpand then run the Tools >> Network setup first.After that, uncomment those constants in
wp-config.phpand you are good to go.We probably need to find a way to emulate the WP-CLI commands:
January 17, 2023 at 6:43 pm #3774Stephen
Guest/** comment these out on new installs and visit WP Admin >> Tools >> Network Setup */ define('MULTISITE', true); // ss = true define('SUBDOMAIN_INSTALL', @WP_MULTISITE_SUBDOMAINS); // ss = true // define('DOMAIN_CURRENT_SITE', '@SITE_DOMAIN'); // ss = *must be unique* define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']); define('NOBLOGREDIRECT', 'https://@SITE_DOMAIN'); // ss = *must be unique* define('PATH_CURRENT_SITE', '/'); // ss = / define('SITE_ID_CURRENT_SITE', 1); // ss = 1 define('BLOG_ID_CURRENT_SITE', 1); // ss = 1source:
https://github.com/littlebizzy/slickstack/blob/master/modules/wordpress/wp-config-multisite.txtJanuary 24, 2023 at 7:44 am #3861Isabella
GuestAlso be sure you don’t have Cloudflare flexible SSL enabled, it should be Full SSL only when using SlickStack since it’s HSTS
June 3, 2023 at 7:03 pm #5865Sara
Guestgot it.
August 15, 2023 at 11:00 pm #7344Emily
GuestMay 21, 2024 at 5:35 am #24985 -
AuthorPosts