Support » Plugin: Contact Form 7 » Redirecting to Another URL – Not Working

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Redirecting to Another URL After Submissions

    If it doesn’t work, check if Ajax is correctly working on your site. It is a JavaScript hook, so it needs JavaScript to work.

    Just want to confirm that as of 10/24/2012, I cannot seem to hook onto ‘on_sent_ok’ with even the simplest JavaScript. And yes, AJAX is correctly working on my site. I notice an increase in chatter regarding similar problems in the last few days.

    WordPress Version 3.4.2
    WPCF7 Version 3.3.1

    Thread Starter watch4him

    (@watch4him)

    Here is what I did to fix it…

    I manually inserted the script tags found at the bottom of the page for the tutorial into my own site. (just before the closing body tag)

    <script type="text/javascript" src="http://contactform7.com/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.18"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    var _wpcf7 = {"loaderUrl":"http:\/\/contactform7.com\/wp-content\/plugins\/contact-form-7\/images\/ajax-loader.gif","sending":"Sending ...","cached":"1"};
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://contactform7.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.3.1"></script>

    This worked for me. (of course I replaced the src to match where my files were on my server)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirecting to Another URL – Not Working’ is closed to new replies.