This doesn’t seem to work.. I can go to the form, and it’s not forcing SSL.
]]>I have a registration form that needs to be under SSL. We have installed the certificate on our server and I installed Gravity Forms: Force SSL and selected the option to force SSL on the page where the form is located.
When I load the page with SSL enabled per instructions of the plug-in install, I get an error stating that the page cannot be found. If I turn off SSL, the page comes back and works.
I tried implementing SSL for the entire website in several different ways, using plug-ins (WordPress HTTPS and Really Simple SSL) and also by modding the .htaccess file, The front page of the site loads fine, but internal pages do not load, giving page not found errors. If I turn SSL back off, the pages work properly.
Right now, I’d be happy just to lock down the page with the Gravity Form on it. Can you offer suggestions as to why it might not be working?
]]>I have a registration form that needs to be under SSL. We have installed the certificate on our server and I installed Gravity Forms: Force SSL and selected the option to force SSL on the page where the form is located.
When I load the page with SSL enabled per instructions of the plug-in install, I get an error stating that the page cannot be found. If I turn off SSL, the page comes back and works.
I tried implementing SSL for the entire website in several different ways, using plug-ins (WordPress HTTPS and Really Simple SSL) and also by modding the .htaccess file, The front page of the site loads fine, but internal pages do not load, giving page not found errors. If I turn SSL back off, the pages work properly.
Right now, I’d be happy just to lock down the page with the Gravity Form on it. Can you offer suggestions as to why it might not be working?
]]>installed and clicked for a form but now it goes to https and give the ‘too many redirects’ error. uncheck force SSL and it paints as normal but warns of insecure form.
]]>Hi,
Thanks for sharing this plugin!
Is there a way to make sure the ssl completely drops out after migrating from gravity forms pages to other pages?
Basically it works all fine but when i am finished with submitting a form and move to another page it looks like my website is still attempting to connect on a secure connection therefore giving me a security warning.
Thanks
]]>I installed the “Gravity Forms: Force SSL” plugin and checked the Force SSL checkbox in the form settings. When I navigate to my form at , I expected it to change the URL to https://… However, it did not. I have to manually type https://… What am I missing??
]]>I’m using WordPress HTTPS to secure 1 page of my website with SSL. When I’m using your plugin to force SSL for the form I still get the mention in Chrome:
Mixed Content: The page at ‘https://xxx/’ was loaded over a secure connection, but contains a form which targets an insecure endpoint ‘https://xxx/’. This endpoint should be made available over a secure connection.
What am I doing wrong?
]]>Whenever I use the Force SSL checkbox {whether on all forms or a specific one} it redirects the homepage to one of the form pages. I still want users to visit the homepage first before diving into the pages that need an SSL. Any idea what might be causing this?
]]>Noticed a little issue with this plugin.
I recently had to remove the gravity forms shortcode form a page and build a template which dynamically called the PHP gravity_form() function, inserting dynamic data using the function.
The plugin seems to check the post_content for the GF shortcode in function check_for_shortcode( $posts ), however, the GF PHP function doesn’t add the shortcode the the post_content, so the plugin never fires as the preg_match_all returns nothing.
To recap, I have an empty page content in the WP editor but my page template calls the GF PHP function directly. e.g.
<div class="entry-content">
<?php the_content(); ?>
<?php
// Output the Gravity Form
echo gravity_form( 5, $display_title = false, $display_description = false );
?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
You may have to hook into one of the GF hooks. I believe the JavaScript gform_post_render() function would work nicely.
Perhaps you can enqueue it after the page loads on the “wp” action hook and check there?
Cheerz,
Wil.
I’ve found a situation on one of our pages where we have numerous shortcodes in use where the indexing for the shortcode search matches were not working. I modified the check_for_shortcode() method as follows:
function check_for_shortcode( $posts ){
$pattern = get_shortcode_regex();
foreach( $posts as $post ){
preg_match_all( '/'. $pattern .'/s', $post->post_content, $matches );
if(isset($matches)){
$key = array_search('gravityform', $matches[2]);
if(!$key) $key = array_search('gravityform', $matches[2]);
if($key && !empty($matches[3])){
$attributes = shortcode_parse_atts( trim( $matches[3][$key]) );
if( !empty($attributes['id']) && !is_ssl() && $this->check_force( $attributes['id'] ) )
$this->force_ssl( $post->ID );
}
}
}
return $posts;
}
]]>