Adding new Domain Mapping Borks all mapped domain blogs
-
I’ve run into a problem with domain-mapping on a new site.
In a nutshell:Last week I pointed “dev.trappistcaskets.com” at our WPMU install which is running under apache on its own separate IP address. (There are four or five other WPMU sites already running there)
This was to test the process, adding “dev.trappistcaskets.com” to the Domain Mapping panel in the Super Admin. Everything worked great. No problems at all for a week or longer.
So, When the client agreed to go live with the site, on Friday night I did the same with ‘www.trappistcaskets.com’, switch the DNS and went to sleep. When I woke up at 5am, I checked the site, and found a very peculiar result.
The home page for the site comes up, but every other page or link within the site gets a 404.
I surmise that something bad happened with the domain mapping, as I now have the same problem with every other blog which is domain mapped.The base address for the site is “dev-trappist-caskets.slowprint.org” and I can log in there without trouble.
However, I now note that if I go to the Domain Mapping panel, and click on the blog ID, I get a 404 on
/wp-admin/wpmu-blogs.php?action=editblog&id=13Not good!
But even using the base address, the links are borked. In my server logs it seems that the url is passed to apache without any rewriting at all. I’m suspicious of the vhost configs, and possibly the rewrite stuff in .htaccess…
I suspect that it will turn out to be a simple config problem, but I haven’t been able to find it!
I’m against a deadline of as soon as possible, of course 😉
All the best from over here!
Peter
semiotx.com
slowprint.com
- The topic ‘Adding new Domain Mapping Borks all mapped domain blogs’ is closed to new replies.