Wordpress - Domain mapping problem on wordpress network
I'm having trouble with the setup of the MU domain mapping plugin, I'm just getting the default server cgi page when I goto the mapped domain. These are the steps I've gone through:
- Installed the plugin and moved the sunrise.php into wp-content and and added the line in the wp-config.php file.
- (All my domains are hosted by LCN) Added the "*" and the IP of my hosting to the main domain.
- Added the IP for my mapped domain.
- Added the new site in the super admin (although I can't find any files relating to this) - http://www.teamworksdesign.com/test/
- Added my IP in the domain mapping configuration.
- Added the mapped domain into the dashboard开发者_Python百科 so it now shows where the root files are (even though there's no folder called that in my ftp) and the site it maps to.
- When I load up the mapped site it just loads the default server cgi page at www.shareandbefair.com and a LCN parking page shareandbefair.com.
Where am I going wrong? Can anyone help?
Not sure about your steps. sunrise.php
should be placed in the /wp-content/
folder, not in wp-config.
You might want to walk through the step is this tutorial for the MU domain mapping plugin. The only thing that's changed between the tutorial and the current version is that you no longer move the domain_mapping.php
file anywhere ... you just "network activate" the plugin instead.
If that still doesn't help, try this:
- Make sure the domain to be mapped points to your existing WordPress installation. If it doesn't point at WordPress, WordPress can't map it.
- Make sure the domain is registered for the site you want to map it to using the MU domain mapping plugin (looks like you've already got this).
- Make sure the domain is set as the primary domain for the site you want to map it to.
- If that doesn't work, try poking the WordPress support forums, dropping in #wordpress on IRC, or try Professional Domain Mapping instead ...
Turns out it was just a case of parking the mapped domain onto the main domain (where the network is).
精彩评论