• Resolved sanch3x

    (@sanch3x)


    Hello,

    So my multisite install isn’t live yet and I decided to go with a subfolder install when what I really wanted was a subdomain one. I have some data in my sites that I don’t want to lose and I’d like to switch over.

    I found a few posts in the forum about it and I went into wp-config.php and switch the flag value to TRUE. I copy pasted the new htaccess file and squashed the old one (everything seems to still be working).

    Unfortunately I can’t seem to change the domain of my main site. I am able to change other ones but not this one, I would like it to also be a subdomain.

    Also, in the site editing page, do I have to change the path variable or is everything fine?

    Thanks for the help, this change isn’t very intuitive for me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The MAIN site isn’t a subdomain. It’s domain.com

    What you’re suggesting is MOVING the main site.

    Thread Starter sanch3x

    (@sanch3x)

    If I have a site running as the main site on my current install, do you know of a good plugin that would export the site’s data which I could then import in a new install that was setup correctly from the get-go?

    I just found myself in a doozie right now because I erroneously setup my multisite on the root folder of my development server where I had other sites running so it believes mydevserver.ca is the main site (hence why I was asking how to change it).

    Thanks again

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    DATA yes, by which I mean posts and comments.

    SETTINGS no. :/

    That said, I want to make sure I get where you are.

    WP is installed in mydevserver.ca

    You want to MOVE that to a subsite of myprodserver.ca?

    Is that right?

    Thread Starter sanch3x

    (@sanch3x)

    My installation was initially on mydevserver.ca/website with a subfolder install. The problem is that the main site thought it’s address was mydevserve.ca which isn’t the case since I have other sites running on this dev server.

    I decided to switch it to subdomains following steps from another thread but it didn’t quite do the trick since it was still looking in the subfolder. To remedy this I decided to create a new folder and install the multisite as subdomains instead. So now I want to move the data from the old main site to my new mainsite. It’s still on mydevserver.ca but it has a domain of website.mydevserver.ca. Phew, that’s a lot to chew on.

    So from mydevserver.ca/website to website.mydevserver.ca

    Does that make sense?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And you want to move from website.mydevserver.ca to where? If it’s to myprodserver.ca that;s not terribly hard.

    If it’s to website.myprodserver.ca that’s complicated.

    The DATA is easy, as I said. Use the built in WP export and import tools 🙂

    Thread Starter sanch3x

    (@sanch3x)

    I was worried that because of all the differently named mysql tables that the export/import would have been much more complicated. After reevaluating my situation I realized that I don’t really need a network of sites so I will just be importing the data in a regular WP install.

    I just wanted to thank you for the help. It’s really appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Moving from subfolder to subdomain’ is closed to new replies.