WordPress MU Domain Mapping
[resolved] SSL and urls (3 posts)

  1. Marko Heijnen
    Posted 2 years ago #

    At this moment I have a wildcard certificate on my maindomain. This is a subdomain network installation.

    What I see now is that "Visit site" in site2.maindomain.com/wp-admin would redirect to site2.maindomain.com and then go to primarydomain.com. The same goes for primary.com and click on "Dashboard". It will first go to https://primary.com/wp-admin and then https://site2.maindomain.com/wp-admin.

    I was curious if this is default behavior since going to wp-admin would cause certificate issues.


  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    You need to make your SSL conditional on whether the request is for the main domain or a mapped domain. You could move the SSL enabling to sunrise.php where you will know whether it is a mapped domain or not.

  3. Marko Heijnen
    Posted 2 years ago #

    Will do that. Also will look if I can change the urls to the good paths. Thanks for your answer.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.