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.

Bizarre redirect to site that it should not know about

  1. This is so bizarre I can't quite work out how to explain it but I will try.

    We originally had two web sites. Brighterleadership.com (BL) and Brighterpeople.org (BP).

    BL was for our content and BP was for user submitted stories, for which we would use gravity forms. I created a user submitted post page on BP and tested it and it worked.

    Then we decided to merge the two concepts into BL and ditch BP.

    I installed gravity forms using the plugin upload feature onto BL and then exported the form from BP and imported to BL.

    When using the form on BL it would redirect to BP in a new window. I could not work out why.

    So I deleted the form and created a new form in BL from scratch. And it still redirected to BP with the following message:

    We cannot find your form

    using the following URL:

    http://www.brighterpeople.org/stories-share-yours/#gf_1

    So I deleted EVERYTHING. All the form entries and the plugin. I installed the plugin again on BL and created the form from scratch again.

    But it still opens the BP link. How does it even know this site exists?

    The only thing I can think of is that importing a form from another site overrode something permanently but how?

    Anyway, how do I destroy any reference to the BP site so that the form loads the post entry into post drafts with the little ajax spinning wheel rather than opening a new tab and heading to the old site?

    Thanks (and I hope this makes sense, because it only just does to me)

    Posted 11 years ago on Tuesday April 23, 2013 | Permalink
  2. Oh, the actual current form is at:

    http://www.brighterleadership.com/share-your-story/

    Posted 11 years ago on Tuesday April 23, 2013 | Permalink
  3. Richard Vav
    Administrator

    Is the gform_confirmation filter present in your functions.php file, it would start something like this and can be used to redirect to a url.

    add_filter("gform_confirmation", "custom_confirmation", 10, 4);

    If you go into the WordPress admin > 'general settings' are your 'WordPress Address (URL)' and 'Site Address (URL)' correct.

    Do you have any plugins that could be messing with permalinks etc, you should try testing for a plugin/theme conflict by following the advice here http://rkt.gs/testing

    Posted 11 years ago on Tuesday April 23, 2013 | Permalink
  4. All the URLs are correct in general settings. The plugins on this site are identical to the ones on the site where the form worked and submitted to drafts. I can see no conflicts.

    The question I have, is if it redirects to another site with the URL as shown above, where in either the DB or in a file is that URL stored?

    It's even using an form ID in the the query string of "1" when the ID of the live form is actually 4. I can't understand why I create a brand new form yet the result is a redirect with an incorrect form ID to a URL that is not present anywhere in the front or back end of the site.

    Is there someone I could have actually go into our admin and look? This is a client and I am failing him and basically I am pulling my hair our...

    Posted 11 years ago on Wednesday April 24, 2013 | Permalink