Mautic Community Forums

http & https

We are starting to transition to having our site run under both http and https.


  1. the Mautic WP plugin will not allow the “//:my.url” so the browser can make the link in the desired protocol, having a mismatch causes some browsers and security apps to complain, which causes visitors to leave.
  2. will a session that begins as http, then switches to https be counted as 2 sessions?
  3. anything else I need to watch out for?

We are starting to transition to having our site run under both http and https.

  1. the Mautic WP plugin will not allow the “//:my.url” so the browser can make the link in the desired protocol, having a mismatch causes some browsers and security apps to complain, which causes visitors to leave.
  2. will a session that begins as http, then switches to https be counted as 2 sessions?
  3. anything else I need to watch out for?

Mautic should consistently run under one protocol. For resources that support HTTPS, I would suggest that you always load them that way versus trying to use //url as it really makes no difference in the end for HTTP requests whether the resource uses HTTP or HTTPS (it’s a bit more strict in HTTPS, as you’ve noticed). So if your Mautic installation supports HTTPS, then configure the WordPress plugin to the HTTPS URL.