• Hi everyone,

    I work for a small web design company. We’ve been using WP more and more for our clients.

    We have a very large client who we will be using WP Multisite for. Their current setup for their domain name is https://www.domain.com. (For some odd reason, https://domain.com does NOT point to their website, but to another admin area. Not sure why, but it can’t be changed.)

    Right now, for development, we’ve had them point https://www2.domain.com to an IP for our server. We set up WPMS to use the address https://www2.domain.com, using sub-directories. We could not get sub-domains to work, because they already use the convention https://www.subdomain.domain.com.

    Because this project involves a large number of sites (thus WPMS), it may take a year or more to transition all of the old sites at the www. address to the www2. address.

    The question I have is- is it possible, once the transition is complete, to change WPMS so that it’s address is the https://www.domain.com, instead of the www2.domain.com?

    Unfortunately, we don’t control the addressing, the client does, and we have to work with a convention they’ve set up many years ago.

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

    (@ipstenu)

    ?????? Advisor and Activist

    Possible, yes.

    Easy … maybe. How DB friendly are you?

    I really should make a blog post about this one day, but here’s the thing. You should not attempt a blanket search/replace of your DB to change www2 to www, as you will lose all your widgets. Among otehr things.

    It’s SAFE to edit all wp_posts (and wp_x_posts) tables like that, but that’s pretty much it.

    Manually go through:

    wp_site
    wp_blogs

    Those two are really straight forward, by the way. You’ll see what to edit.

    But then you have to manually (again) review all the wp_x_options tables and look for THREE fields:

    home
    siteurl
    fileupload_url

    ONLY edit those. And yes, you have to do it manually in each of the options table.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing addresses for WPMS’ is closed to new replies.