[buddypress-trac] [BuddyPress Trac] #8351: Create a Site Bug
buddypress-trac
noreply at wordpress.org
Wed Jan 6 17:18:28 UTC 2021
#8351: Create a Site Bug
--------------------------+------------------------------
Reporter: eha75 | Owner: imath
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Blogs | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by eha75):
* keywords: needs-testing reporter-feedback =>
Comment:
Hi,
sorry for the delay, but i had to pause my BP activities for some time,
but i am back again.
here is my setup: WP 5.6 multisite (subdirectory confif), BP 7.1.0 on
siteground, 4 domains configured to the install.
target is to have BP on a different site than "main", but new sites to be
created based on the domain used for the "main" site, which should be the
default if i understood correct.
the issue that i noticed is that new sites are not created based on the
domain of the main site, but based on the domain which is used for the BP
site, this is repeatable on my testinstall.
interesting fact:
using Sites > Create a Site on the frontend of the BP site, the page shows
the correct sitename from the main site with the free field to enter the
subdirectory name.
after creating the new site, the "congratulations page" names the domain
of the BP site with the entered subdirecory name as "your new site", which
is the same that was setup by the systems and is visible in the Sites list
/wp-admin/network/sites.php (bp-site-domain/subdirectory instead of wpmu-
site-domain/subdirectory)
if i create a new site via backend /wp-admin/network/site-new.php the new
site is being created correct based on the domain of the main site
(DOMAIN_CURRENT_SITE).
for my wp-config i use the following definitions for the site setup:
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'testdomainreplaced.smile');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define ( 'BP_ROOT_BLOG', 2);
i also tested to define another site for BP_ROOT_BLOG and also to define
another main site BLOG_ID_CURRENT_SITE, same effect.
br, Eric
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8351#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list