PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

about:blank 404 errors on gravity forms pages due jquery

  1. hi,

    gravity forms produces 404 errors using the about:blank with ajax on all pages. google is getting crazy on our pages and ranked us down. how to fix that?

    The about:blank is in the first row

    <iframe style='display:none;width:0px; height:0px;' src='about:blank' name='gform_ajax_frame_5' id='gform_ajax_frame_5'></iframe>
                    <script type='text/javascript'>function gformInitSpinner_5(){jQuery('#gform_5').submit(function(){if(jQuery('#gform_ajax_spinner_5').length == 0){jQuery('#gform_submit_button_5').attr('disabled', true).after('<' + 'img id="gform_ajax_spinner_5"  class="gform_ajax_spinner" src="" alt="" />');jQuery('#gform_wrapper_5 .gform_previous_button').attr('disabled', true); jQuery('#gform_wrapper_5 .gform_next_button, #gform_wrapper_5 .gform_image_button').attr('disabled', true).after('<' + 'img id="gform_ajax_spinner_5"  class="gform_ajax_spinner" src="" alt="" />');}} );}jQuery(document).ready(function($){gformInitSpinner_5();jQuery('#gform_ajax_frame_5').load( function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_5');var is_redirect = contents.indexOf('gformRedirect(){') >= 0;jQuery('#gform_submit_button_5').removeAttr('disabled');var is_form = !(form_content.length <= 0 || is_redirect);if(is_form){jQuery('#gform_wrapper_5').html(form_content.html());jQuery(document).scrollTop(jQuery('#gform_wrapper_5').offset().top);if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_5').val();gformInitSpinner_5();jQuery(document).trigger('gform_page_loaded', [5, current_page]);}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('#gforms_confirmation_message').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_5').replaceWith('<' + 'div id=\'gforms_confirmation_message\' class=\'gform_confirmation_message_5\'' + '>' + confirmation_content + '<' + '/div' + '>');jQuery(document).scrollTop(jQuery('#gforms_confirmation_message').offset().top);jQuery(document).trigger('gform_confirmation_loaded', [5]);}, 50);}else{jQuery('#gform_5').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [5, current_page]);} );} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [5, 1]) } ); </script>
    Posted 9 years ago on Friday November 9, 2012 | Permalink
  2. Can you please post a link to the page on your site where the form is embedded, so we can see what's going on?

    It sounds like a plugin or theme conflict causing a JavaScript or jQuery error. Please begin troubleshooting by following these steps

    Posted 9 years ago on Friday November 9, 2012 | Permalink
  3. stefanweise

    Having the same issue with google reporting /div as a 404 on all pages containing forms with AJAX turned on.

    Examples of this:

    Posted 9 years ago on Thursday November 15, 2012 | Permalink
  4. why use an iframe the confirmation message? that confuses me, (full disclosure: I hate iframes)

    Posted 9 years ago on Friday November 16, 2012 | Permalink
  5. @stefanwise, can you post a screenshot or the text of the actual error from Google please? Are you having any other trouble with your site or your forms?

    Posted 9 years ago on Saturday November 17, 2012 | Permalink
  6. @stefan, I do not see as a link anywhere in the source of those pages. Do you see that URL?

    I wonder why that URL shows up as a link in pages which are NOT using Gravity Forms. Any idea why that is?

    Also, can you use the "Fetch as googlebot" tool in Webmaster tools to see what comes up?

    Posted 9 years ago on Monday December 3, 2012 | Permalink
  7. stefanweise

    All of the URLs where this error is coming from ARE using gravity forms and i keep finding it embedded in a jquery script inside an iframe generated by the plugin. The error keeps coming up.

    This needs to be fixed.

    Not sure what fetch as google will do here since it doesn't output any code for you to see.

    Posted 9 years ago on Wednesday December 5, 2012 | Permalink