• Resolved CKriek

    (@ckriek)


    Recently I’ve installed a fresh WordPress MS and upgraded it from version 3.5. After some tweaking here and there I’m now trying to switch my network type from subdirectory to subdomain. I’ve already:

    1. Installed it on it’s own ip-adress;
    2. Set “define( ‘SUBDOMAIN_INSTALL’, true );” in the config.php;
    3. Reset the .htacces document to the right code.

    Now when I try to create a new subdomain I get the message that WordPress had already been installed, and that I’ll need to delete the directory to install a new copy. When hitting the back button the website does show up in the list of “sites”, but I get an server error message when visiting it (cgi-sys/defaultwebpage.cgi). Manually creating a subdomain folder before creating a new website doesn’t seem to matter.

    What steps am I missing/doing wrong?

    ,Sincerely

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter CKriek

    (@ckriek)

    Edit: also initially the logout function is lost when editing the .htaccess file, then the total website will give the cgi-sys/defaultwebpage.cgi webpage.

    The previous subdirectory installation will have provided the database tables with that structure. Changing the setup afterwards conflicts with the expectation that was set. At this point you should ask yourself what you would lose by starting over with a new database.

    Thread Starter CKriek

    (@ckriek)

    Thanks for the response!

    Could there be a way tough to either edit the database or keep at least the ‘leading’ website (which is located at public_html/)? There’s already been a load of hours in that part, the subdomain website’s however hadn’t yet been setup.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    There is a way to edit the db.

    You have to do a couple things. First, edit wp_blogs and change these:

    domain: example.com
    path: /sitename/

    to this:

    domain: sitename.example.com
    path: /

    Then you’ll want to use https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ and search/replace everything.

    Thread Starter CKriek

    (@ckriek)

    Thanks for the clear description both, I’ll give it a try! Sadly tough, something went wrong and the whole site crashed which forced me to do a hard re?nstall.

    Either way, problem solved!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multisite subdomain installation How-To’ is closed to new replies.