Broken link replacements when /xyz.html shared ssl
-
Hi Mike,
I found the error causing contact form 7 to fail sending with a shared ssl hoster set up in https plugins settings.
all links that start with / e.g. /testpage.html will be replaced the wrong way by the plugin:
-> ssl.proxy/testpage.html
instead of
-> ssl.proxy/domain.com/testpage.htmlas contact form 7 outputs the form action also as /contact-form.html it will break when activating wordpress https for it on a shred ssl hoster.
using jquery until a fix becomes available:
jQuery(document).ready(function( $ ) { $('form').each(function(index ) { old_action=$(this).attr('action'); new_action=old_action.replace('ssl.proxy.com/','ssl.proxy.com/domain.com/'); $(this).attr('action', new_action); }); });
The topic ‘Broken link replacements when /xyz.html shared ssl’ is closed to new replies.