WP-Mautic Requesting Insecure Form

After embedding a Mautic form in a WordPress site behind SSL, I found the Mautic form was causing SSL issues (loading the form over http causing browser to yell and go not green … even though Mautic is behind SSL as well -__- )…

A solution I hacked in on the Mautic side, was in: mautic_root/app/bundles/FormBundle/Views/Builder/form.html.php

on line 45, change: action=”<?php echo $action ?>”

to: action=”<?php $tmpy=str_replace(‘http’,’https’, $action); echo $tmpy; ?>”

Then to hit save in Mautic on your form to force it into play

Leave a Reply

Your email address will not be published. Required fields are marked *