WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
How to redirect subscribers to another page when they optin? (6 posts)

  1. sammas
    Member
    Posted 2 years ago #

    Hi,
    Once someone enters in their details (email, name, etc) I want to then redirect them to another page, where they can download a report let say.

    How can I do this using contact 7? is it possible?

    Thanks for you help

    http://wordpress.org/extend/plugins/contact-form-7/

  2. shachafp
    Member
    Posted 2 years ago #

    HI all you need to do is add this code to your additional setting at the bottom of the contact form page

    on_sent_ok: "location = 'http://www.yoururl.com/ ';"

  3. sammas
    Member
    Posted 2 years ago #

    Hi thanks but it stop working.

    I did what you said and it worked great, then I changed a field in the form and now it won't work.

    I have double checked many times, and can't see why it worked before and not now. Can you help on this please.

    Thank you

  4. RterBeest
    Member
    Posted 2 years ago #

    on_sent_ok: "location = 'http://www.yoururl.com/ ';"

    is not working...

    I can see the text of this link on my contact form page.

    What can I do?

  5. nextart
    Member
    Posted 2 years ago #

    Hi here http://contactform7.com/redirecting-to-another-url-after-submissions/ they suggest that tips but they say also:
    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. You’ll need another hack if you need to redirect on non-JavaScript environments.
    and suggest this test
    http://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/

    bye Maurizio

  6. aml5578
    Member
    Posted 2 years ago #

    Has anyone figured this out? I followed your directions nextart and it is still not working for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags