Domain Mapping w/ SSL

I have two questions:
1) What is the code in the attached image do? https://drive.google.com/file/d/14CB5DtgLUBEht43rBi29l8NvybiITAik/view?usp=sharing
2) Why does it not change the schema to https when a site has ssl & is configured that way?

  • Adam Czajczyk

    Hello Tom,

    I hope you're well today and thank you for your question!

    1) What is the code in the attached image do?

    This code comes from "Cross domain auto-login" option of the plugin and is there to provide automatic login to sites with mapped domains. With that option disabled, an admin of multiple sub-sites that are under different (mapped) domains would have to manually login each time when travelling between dashboards of them.

    2) Why does it not change the schema to https when a site has ssl & is configured that way?

    I'm afraid there is a bug in Domain Mapping. Our developers are already aware of it and are looking for a fix. It should be reading protocol prefix properly so they need to find out why it's not doing that and create and apply a fix to the plugin. I have added your ticket to an existing report so we would be notified if any new information come out and when the fix is ready.

    Kind regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.