How did you move it? Just domain mapping or something else?
Thread Starter
rapsli
(@rapsli)
Domain mapping and then updated the one or two paths in the settings for that site
Thread Starter
rapsli
(@rapsli)
I also updated it there:
/wp-admin/network/settings.php?page=dm_domains_admin
-> added my new domain
/wp-admin/network/sites.php
-> 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.
Thread Starter
rapsli
(@rapsli)
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
Save
– 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
Save
Stop doing this!
DO NOT EDIT THE SITE INFO.
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) test.ch – Make sure that BEFORE you map it within WP, it points to rapsli.ch
Yes. I really mean rapsli.ch (don’t worry about test.rapsli.ch 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
Domain: test.ch
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.
Thread Starter
rapsli
(@rapsli)
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 test.rapsli.ch and replaced it with test.ch…
Not exactely sure what you mean with
1) test.ch – Make sure that BEFORE you map it within WP, it points to rapsli.ch
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.
Thread Starter
rapsli
(@rapsli)
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.