WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite, Domain Mapping, SSL (21 posts)

  1. teeray
    Member
    Posted 10 months ago #

    I've been struggling with this for some time, so apologies for the cross post.

    I have a simple multisite set-up with mapped domains and SSL (using the wordpress https plugin). Each mapped domain has their own security certificate purchased. I have installed them and set the https plugin to use the SSL for the correct domain.

    SSL is working perfectly for one domain - and it's a disaster for the other. The one which doesn't work is constantly redirected to http. I can't enter secure filters because they get zeroed out. And the HTTPS domains in the network admin all keep changing to the default url as soon as they're saved.

    I'd love some guidance on how to fix this, if anyone's encountered this issue before or has some troubleshooting suggestions.

  2. The only thing I remember simialr is this: http://wordpress.org/support/topic/wordpress-multisite-domain-mapping-and-ssl?replies=7

    (BTW, you don't have to tag it with my name - I'm checking in as much as I can, but there's some family stuff going on so you gotta be patient)

  3. teeray
    Member
    Posted 10 months ago #

    Apologies for the tag - totally understood on the family issues. No lack of patience here, especially since this has been an issue I've been trying to fix for a month. I just know that this is your side-gig and since this was posted a few days ago, figured it might have gotten lost in the mix.

    I've actually read that thread you posted and just about every other one on the same/similar issue. The thing is, one of the domains is working just fine. Perfectly. The other one is just redirecting back to HTTP. It's a total mystery.

    Apache entries have been checked, so has domain mapping. This seems to be purely an issue with multisite and the https plugin...and since there's a sore lack of support over there on the https forum, I have no opportunity to hound the experts over here.

    Again, apologies - NO serious nagging was intended.

  4. Renato Alves
    Member
    Posted 10 months ago #

    @Teeray, one question, have you installed the plugin Network-wide? Have you tried to instal it in every web site separetely and see if it works?

    Another thing, I'm not totally sure, but you could use one SSL Certificate with WildCard. Or am I wrong?

  5. One thing isn't clear.., you say only one domain isn't working. Is that the only mapped domain where you're using SSL?

    Honestly, I've never tried it myself. I did use SSL for admin without issues, though.

  6. teeray
    Member
    Posted 10 months ago #

    Hi Renato,

    Thanks! It doesn't seem to matter whether I network activate the plugin or activate it on individual sites - the result is exactly the same.

    Curiously, after a while, the https domains in the plugin seem to reset themselves. Meaning when I go back, they've all changed to the primary domain url (which itself has an SSL installed).

    This seems to have no impact on one of the sites. But on the other one, https is just not working at all.

  7. teeray
    Member
    Posted 10 months ago #

    @ipstenu: nope. I'm using SSL on two mapped domains as well as the primary domain. The primary and one mapped domain are working, though I care little about the primary domain as it has nothing to secure.

    So it's not working on one of the mapped domains, but is on the other. It's so strange.

    One thing I know is that the https plugin definitely isnt working as it should - it completely zeroes out information and defaults back to the primary domain. I can't even use url filters to always secure as they don't save properly. I've tried reinstalling the plugin a dozen times. Nothing.

    I'm debating migrating the current site to a new installation to test it but it's going to be a nightmare. It's not a small site. And I feel like it will still cause a repeat of the problem.

  8. Renato Alves
    Member
    Posted 10 months ago #

    @teeray, it seems this https you are using is the cause of the problem.. Try a different one or as you say, create a testing environment and test it.

  9. JHouse
    Member
    Posted 10 months ago #

    Definitely sounds like an issue with the https plugin, not Multisite, but could be wrong. Maybe find another https plugin solution?

  10. teeray
    Member
    Posted 10 months ago #

    Thanks everyone.

    The other https solutions I've tried have caused some major issues with the site. They've messed up redirections and more. It seems like even when the https plugin is removed, there are some settings there that are still causing the domain to redirect to http.

    Does anyone have any insight on what to do to make sure that all the https settings are completely reset?

  11. JHouse
    Member
    Posted 10 months ago #

    There might still be tables left in your database from this plugin, so even if you remove it, there may remain traces. Also, your .htaccess file has most likely changed with this plugin, and even after disabling it, the .htaccess file may remain the same, thus causing issues.

  12. teeray
    Member
    Posted 10 months ago #

    Thanks, WP4RE.

    I've gona ahead and removed the plugin, checked the .htaccess - no rewrite rule pertains to https (it's pretty much the default for multisite).

    I've also gone into the db and deleted all entries in each wp_options table for each site that relates to the https plugin.

    Even when the plugin is disabled, https:// on the site redirects to http://. It does it just for that one site - not for the others.

    So SOMETHING is causing this. The trick right now is finding exactly what.

    Any ideas?

  13. teeray
    Member
    Posted 10 months ago #

    Thanks everyone for your help. After countless weeks and hours trying to work out what was wrong, it was very simple.

    The site had woocommerce instead, and it was set to revert to http on checkout. This seems to actually force ALL https pages throughout the site to forward back to http, not just the pages that you visit after checkout.

    Unchecking that solved the problem. It was so simple I can almost hit myself, but thankfully it's now resolved!

  14. Renato Alves
    Member
    Posted 10 months ago #

    Awesome! I took a course of a few days back about working with Woocommerce and that's true.

    It seems only the checkout pages are important to have HTTPS because it's over there where the real information are transfered.

    Glad you found the solution. =)

  15. alexgomy
    Member
    Posted 8 months ago #

    Hi teeray, I'm trying to do exactly the same as you. So i have 1 master site and loads of sub sites using sub domains and domain mapping. Got it all working perfectly. But i would like the make a couple of pages on all the sites https so I've got an SSL.

    When you managed to do it, did you use a regular SSL or a wildcard one? and did you have all the sites under the same i.p?

    Thanks in advanced.

  16. teeray
    Member
    Posted 7 months ago #

    Hi there,

    I used separate regular SSLs for each domain. All the sites were under the same IP.

    Hope that helps.

  17. echoleaf
    Member
    Posted 6 months ago #

    @teeray: So you are able to successfully have ssl on multiple network sites? Does each network site (and thus a subdomain) require it's own ssl certificate? Which plugin are you using for the ssl?

  18. teeray
    Member
    Posted 6 months ago #

    @echoleaf,

    Yes, you are. If you are using subdomains, you will need an SSL certificate that supports wildcard domains. If each domain is mapped to an individual url, you will need to purchase multiple certificates. You don't need multiple IPs.

    SSL plugin I'm using is WordPress HTTPS. http://wordpress.org/plugins/wordpress-https/

  19. echoleaf
    Member
    Posted 6 months ago #

    Thank you, the response is much appreciated.

  20. echoleaf
    Member
    Posted 6 months ago #

    Now I'm wondering what happens with domains mapped to the subdomains, as parked domains in CPanel. In that case a dedicated IP & SSL would be need but I'm not sure if that is possible with parked domains.

  21. lhuria94
    Member
    Posted 6 months ago #

    Hello Everyone,

    I have been trying to create WordPress Multisite with different domians.
    How can i achieve that?

    For Example :

    My Current website is: http://www.domain.com
    What wordpress multisite provide us is to create:
    http://www.domain.com/subdomain

    But i want to create 4 different website from one admin panel.
    i.e 1) http://www.domain.com
    2) http://www.domain1.com
    3) http://www.domain2.com
    4) http://www.domain3.com

    Super admin will handle all the above websites.
    And he will be able to create or delete users.

    And Domain mapping is not helping in this.
    What domain mapping do is it redirects the url: http://www.domain.com/subdomain to any external website.

    But super admin is not able to handle the users of external website..

    Thanks in advance.

Reply

You must log in to post.

About this Topic