• I have a subfolder installation of WordPress Multisite with thousands of users/sites. The URLs are formatted like this:

    http://www.domain.tld/sitename/

    (We have to hack it and force WordPress to use WWW…long story)

    Our customer wants to change the installation to subdomain, so the format would be:

    http://blogs.domain.tld

    My questions: Would the site name come after the TLD, or does a subdomain installation require the sitename be the subdomain?

    I know that going from subfolder to subdomain will be a major pain. I hope I was able to describe my problem with enough detail.

Viewing 8 replies - 1 through 8 (of 8 total)
  • So you want to change http://www.domain.tld/sitename to http://blogs.domain.tld/sitename or http://sitename.blogs.domain.tld?

    Thread Starter danhgilmore

    (@danhgilmore)

    Eric – http://blogs.domain.tld/sitename is the desired result

    I’ve been watching this conversation on Twitter, and I’m a little confused as to what you’re asking.

    Are you really just wanting to move your site from http://www.example.org to subdomain.example.org, leaving all of your sites as subdirectories; or are you looking to migrate all of your subdirectory sites to become subdomain sites instead (e.g. move http://www.example.org/subsite to subsite.example.org)? Or, as it seemed to be suggested on Twitter, are you looking for some sort of combination between multiple subdomains and multiple subdirectories?

    If the former, it’s really simple; if either of the latter, it’s a bit more complicated.

    EDIT – Nevermind, it looks like Eric asked the same question and already got an answer.

    In that case, you’re not changing a subfolder installation to a subdomain installation, you’re just moving the domain. It’ll be a little involved, but you’ll need to reset the siteurl and home settings for each site on the network (and can probably do this with a search-and-replace in SQL).

    Thread Starter danhgilmore

    (@danhgilmore)

    Curtiss – I’m looking for the former.

    Thread Starter danhgilmore

    (@danhgilmore)

    Heh, I’ve done that a million times when importing my production DB to dev environment 🙂

    That’s exactly what you’re doing, Dan; it’s just moving production to a different production, instead of dev => production.

    Just watch out for any serialized data.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Now that I’m at a big girl computer….

    Just moving from example.com to blogs.example.com isn’t all that difficult, just beware the serialized data.

    http://halfelf.org/2012/moving-wordpress-multisite/ – check the comments. Thre’s a cool script for that.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Converting subfolder to subdomain installation’ is closed to new replies.