Support » Networking WordPress » Moved one site from subdomain to it's own domain

  • Resolved rapsli


    Yeah, my first entry here in the forum.

    Oky, I have a multisite running with 7 sites:
    3 real domains
    4 subdomains

    Now I wanted to move one from the subdomains to it’s own domain: ->

    Everything seemed to work just fine, but then it turned out that there is issues with URLs. It seems as if redirect rules are not working anymore as all of the sites and file links break (except for the homepage).

    When I switch the permalinks settings to default (?p=) pages work fine, but images are still broken.

    Redirect rules are working just fine for the other sites and when I switch the site back to it’s subdomains it’s working again.

    Hope someone can point me in the right direction

Viewing 9 replies - 1 through 9 (of 9 total)
  • How did you move it? Just domain mapping or something else?

    Domain mapping and then updated the one or two paths in the settings for that site

    Right, that wasn’t what you should do 😉

    The plugin will help.

    I also updated it there:

    -> added my new domain

    -> Updated some of the settings for the site

    –> What should I do instead?

    Okay. Do not mess with this: /wp-admin/network/sites.php

    If what you’re saying is you actually EDITED the site to change the domain name there, then you did it wrong.

    Undo that.

    Now. Once you add the site in on the dm_domains_admin page, all you should have to do is go in and save the permalinks again for that site.

    Oky. Undid everything. Images are displaying fine again. Site is working fine.

    Here are now my steps:

    – /wp-admin/network/settings.php?page=dm_domains_admin
    Adding new domain.

    – Going to the sites /wp-admin/options-permalink.php
    Save page again
    -> Nothing happens, as the URL for the domain is still set to the subdomain

    – /wp-admin/network/site-info.php?id=9
    Update domain from subdomain to full domain

    – Going to the sites /wp-admin/options-permalink.php
    Save page again
    -> Page broken

    The strange thing is, that the homepage is working but not any of the pages and I don’t get a wordpress 404, but rather the apache 404. It really seems as if the rewrite engine is just missing out on that domain.

    Any more inputs?

    – /wp-admin/network/site-info.php?id=9
    Update domain from subdomain to full domain

    Stop doing this!


    I don’t care what you think at this point, but just get out and leave it the heck alone. Seriously you are digging your hole deeper because you are screwing around with your database settings. I really don’t want to have to walk you through cleaning out the DB, man, please stop this.

    Clean it up again, back it all out. We’re going to start from page 1.

    1) – Make sure that BEFORE you map it within WP, it points to

    Yes. I really mean (don’t worry about at this point).

    If it does, good, on to step 2, if not, report back and wait 🙂

    2) At /wp-admin/network/settings.php?page=dm_domains_admin

    Site ID: 9
    Primary: Check the box

    It’s important to note that in this moment, the plugin will change your URL for you. If this is not happening, STOP. Come back and tell us.

    Hi There

    I think I will have to dig deeper here. I already crawled through the db before I came to the forum looking for and replaced it with…

    Not exactely sure what you mean with

    1) – Make sure that BEFORE you map it within WP, it points to

    Do you mean the DNS server?

    I think I’m just gonna do some debugging figuring it out the hard way. At least after that I will know how this whole thing works. If you got any advice here where to best start that would be a lot appreciated.

    For example: What does the “Primary” Checkbox stand for. Couldn’t figure that out yet. In the DB this column is called “active”?! But then I had it not set for one domain and it was still working.

    Ha 🙂 I figured out the issue: The virtual host settings.

    I setup kind of a catch all for the default virtual host and was under the impression that this would work. Now a created it’s own virtualhost for the new domain and it’s working like a charm. I guess I have to do some more tweaking on that default virtualhost settings.

    Thanks for your efforts anyways.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Moved one site from subdomain to it's own domain’ is closed to new replies.