Support » Plugin: NS Cloner - Site Copier » Cloning sites on subdomain setup?

  • Resolved Frank.Prendergast


    I have a subdomain Multisite network, but my install of NS Cloner is cloning to subdirectories and I don’t see an option to change that. Weirdly, it seems to be successfully cloning sites to a subdirectory.

    I don’t see anything in the settings to switch, if it’s automatically determining which mode to use I don’t understand why it thinks my network uses subdirectories.

    All I can find is that “yes, NS Cloner works in subdomain or subdirectory mode”, so any tips on *how* to get it cloning to subdomains appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Never Settle


    Howdy! Thanks for the question – that’s a strange one! The Cloner does detect which multisite mode is in effect for the network in which it’s installed. So, if it thinks it’s in subdirectory mode, then chances are your wp-config.php file in fact does have it configured like:
    define( ‘SUBDOMAIN_INSTALL’, false );

    Please let us know if this is not the case!

    It’s also theoretically possible to run multisite in a combo mode of both subdirectory and subdomain at the same time (either intentionally or accidentally). This can be done with specific configurations and redirects configured. Here’s an example which might provide some clues to look for in your own setup:

    Is it possible your install was run in one mode at one point and then switched to another mode later?

    Probably the next thing to do is re-scrub all your multisite configurations (wp-config.php, .htaccess, etc.)

    Cloner uses WordPress’ core function is_subdomain_install() to determine multisite mode ( – so if Cloner thinks you have a subdirectory-based install, then WordPress thinks you have a subdirectory install.

    We’d be very curious to know what you find!

    Thank you, I have no idea how it happened but my wp-config did indeed include:

    define( ‘SUBDOMAIN_INSTALL’, false );

    It’s possible it was accidentally changed recently when some domain mapping troubleshooting was being done. I hope that’s what happened because otherwise it’s a mystery as to how the sites were being set up as subdomains until now.

    Many thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloning sites on subdomain setup?’ is closed to new replies.