Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This week I installed Wordpress 3.4.2 (Linux Centos + Apache2) and configured the network option using subdomains. Then I installed the MU Domain Mapping plugin, so I would be able to use it with domain names instead of subdomains. This works for one domain, however the second domain redirects to the subdomain.

  • base site: multisites.com
  • two subsites: one.multisites.com and two.multisites.com
  • two new domains: one.de and two.com.de
  • one.de works correct (based on one.multisites.com)
  • two.com.de redirects to two.multisites.com
    • NB: two.com.de is a subdomain of com.de, and this is similar to the actual situation!

Two.com.de should not redirect. I don't see any differences in the setup. What could cause this and do you experience problems like this as well?


NB: I changed the domain names in the example to make it more clear.

share|improve this question
1  
Isn't two.co.test a sub-domain? I'd suggest you to use example.com and the likes, the fictitious names you're using are kind of confusing. I mean, one can get it, but has to read 2 or 3 times... –  brasofilo Dec 5 '12 at 11:19
    
I'm sorry about the confusing domain names in the example. I use two.co.test because it actually is like that, so it's a subdomain from co.test, but that should not matter - or is this the cause of the problem? I will try with a third domain name: three.test! ;-) –  SPRBRN Dec 5 '12 at 11:50
    
I changed the domain names in the example! –  SPRBRN Dec 5 '12 at 11:59

1 Answer 1

up vote 1 down vote accepted

Check if the Primary option is selected for the second domain under domain mapping settings. It should say Yes under Primary in Settings->Domains for that domain.

share|improve this answer
    
Thanks a lot! I didn't realise that was about to which domain the site would redirect. –  SPRBRN Dec 7 '12 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.