• ah92

    (@haxhiuargjend)


    I’m trying to create a Network of WordPress Sites using subdirectories, and in wp-admin under Tools>Network it’s displayed this warning. “Because your installation is not new, the sites in your WordPress network must use sub-domains.” I found a way to force using the subdirectories by adding this line of code in wp-config:

    define('SUBDOMAIN_INSTALL', false);
    After adding it, the website breaks down and it’s showing me error establishing the database. I’m assuming that problem is that my WordPress is installed on a subdomain: blog.example.com and maybe by disabling subdomain installing, it is causing this fatal error. Is there any way that I can enable Network Multisite Subdirectory in a WordPress installed on a subdomain.

Viewing 1 replies (of 1 total)
  • Doesn’t matter about the build on a subdomain though that’s somewhat unusual but WordPress tests the age of the system being converted and won’t want to allow a subdirectory install on an older WordPress…

    I think it’s due to the subdirectory layout causing issues as the site ages. Those issues appear as conflicts in the actual directory structure and the psuedo-directories WordPress creates inside itself. A subdirectory install on a fresh WordPress can deal with those subdirectory issues as it creates them. An older install may have already created problems for itself and cannot compensate for those properly.

    You can treat the subdomain the WordPress is installed on as a ‘domain’ for purposes of network creation but a subdomain install on a subdomain gets right confusing.

    My best advice would be to consider starting from a new server under a domain or a subdomain if you want a subdirectory install…

    Keep in mind the install type kind of disappears within the new sites in the network once you’ve created and then mapped the domain or subdomain to that new site.

    Keeping all that balanced in your head is actually the biggest hurdle.

    The sub-directory / sub-domain question is most important when you need sites created as sub-domains or sub-directories in a system where you’ll not be remapping the new sites and need the new sites to be generated ‘ready for use’ name wise in whatever scheme you need.

    The above quandary and the secondary quandary of domain mapping can be two very confusing parts of WordPress multisite. Once you get past that then the whole subject gets easier.

    We are here to try to help smooth the way if you need us…

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress MultiSite Subdirectory Network in a sub-domain website’ is closed to new replies.