Multisite sub-directory setup not working
-
I have a multisite setup at eg. mysite.com – I want to be able to clone the site and have it appear in sub-directories at mysite.com/clone1, mysite.com/clone2, etc.
Each time I clone the site using NS Cloner it completes, but just uses the same root domain (i.e. https://mysite.com) as the URL, and does not include the sub-directory. If I manually go to the URL it should be using, it just redirects to the root domain/main site. Checking in the database for the cloned site, I can see that it is just using root domain there.
I am getting no errors in the site or in the server logs, debug is switched on and returns nothing.
I’m just not quite sure what else to try… Would you have any ideas or suggestions at all please?
==============================
My Multisite WP config:
define( ‘WP_ALLOW_MULTISITE’, true);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
define( ‘DOMAIN_CURRENT_SITE’, ‘mysite.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );==============================
My entire htaccess:
# BEGIN WordPress
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]
# END WordPress=============================
The topic ‘Multisite sub-directory setup not working’ is closed to new replies.