Comments on: How to Set up WordPress Multisite with Subdirectories https://www.rosehosting.com/blog/how-to-set-up-wordpress-multisite-with-subdirectories/ Premium Linux Tutorials Since 2001 Tue, 04 Oct 2022 14:44:39 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: admin https://www.rosehosting.com/blog/how-to-set-up-wordpress-multisite-with-subdirectories/#comment-48524 Thu, 17 Dec 2020 07:41:07 +0000 https://www.rosehosting.com/blog/?p=32434#comment-48524 In reply to Roger.

Please make sure that Site Address (URL) and WordPress Address (URL) are properly set.

]]>
By: Roger https://www.rosehosting.com/blog/how-to-set-up-wordpress-multisite-with-subdirectories/#comment-48523 Wed, 16 Dec 2020 17:49:12 +0000 https://www.rosehosting.com/blog/?p=32434#comment-48523 Hello, thanks.

I have kind of a huge problem though:

On www.domain.com I have prestashop, so that space was busy.

I therefor had already installed wordpress on:
www.domain.com/blog/

Today I enabled multisite, and I wanted to keep my blog on www.domain.com/blog. This works as before, BUT when I try to add another site, it automatically is created on www.domain.com/blog/blog2/
I want the new sites to be on:
www.domain.com/blog2 and so on.

I don’t want my primary blog address to be the “host” for the new sites.

As in: NOT www.domain.com/blog/blog2, but www.domain.com/blog2

It seems you might know your way around, so do you have any suggestions to fix this?

In my wpconfig I have now:

define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘yourdomain.com’);
define(‘PATH_CURRENT_SITE’, ‘/blog’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);

I tried changing this to your example:
define(‘PATH_CURRENT_SITE’, ‘/’);

And the main blog and it’s admin still works, but not the network-admin.

]]>