• Resolved poptartgun

    (@poptartgun)


    My thank you page redirects to #sf_form_salesforce_w2l_lead_2 instead of our thank you URL. In the HTML it shows that as the form action. In the database though it shows the correct URL. Our site is https://www.insynq.com the form in on the home page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter poptartgun

    (@poptartgun)

    I have disabled all the plugins and added them back in one at a time, no luck. No console errors.

    Thread Starter poptartgun

    (@poptartgun)

    I have upgraded to the newest version of WP, 4.7.2, removed all the other plugins and restarted the server and it still isn’t working. We have two forms, one works and one doesn’t. The one that does work redirects to a PDF after submission.

    https://www.insynq.com/information-protection

    The one that doesn’t work is on the homepage. Same form content just a different redirect.

    Any thoughts?

    Plugin Author Nick Ciske

    (@nickciske)

    My thank you page redirects to #sf_form_salesforce_w2l_lead_2 instead of our thank you URL. In the HTML it shows that as the form action.

    The plugin uses that as part of the submission to force the form onscreen in case of errors. That’s normal behavior, not a redirect.

    In the database though it shows the correct URL.

    What URL are you trying to redirect to? .e.g What’s in the Thank You URL setting?

    I suspect your theme is possibly watching for a #hash URL and trying to do something fancy (and failing), but I can’t be sure. Adding an #anchor should not result in a 404 as that’s not an actual URL (just a location on the current URL).

    The fact that it works on a subpage also points to something about the homepage being the culprit.

    If I remove the anchor from the action and submit, I end up on the blog page? Something very odd is going on with your theme…

    Thread Starter poptartgun

    (@poptartgun)

    So I just set up a brand new blank WordPress install with the default theme and no other plugins. The bug still exists. Go to https://timpiele.com/salesforce/test1 and https://timpiele.com/salesforce/test2 and you’ll see.

    I created a new form, then duplicated it with your duplicate button. The first one redirects to our PDF and is fine. The second one is a 404, but if you look at the URL it is supposed to redirect to, it exists.

    Thread Starter poptartgun

    (@poptartgun)

    This is also a completely different server.

    Plugin Author Nick Ciske

    (@nickciske)

    What is the redirect URL for the second form?

    Plugin Author Nick Ciske

    (@nickciske)

    The second form redirected me to https://www.insynq.com/thank-you/

    So what’s the issue exactly?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Thank you page not redirecting’ is closed to new replies.