• When I submit a form using web to lead plugin the lead is going into SF just fine but the page just links and remains on the form page with no message instead of directing to my lead redirect url which is defined in Form Editor.

    I deactivated plugins 1 by 1 until I identified the Yoast SEO plugin as the culprit. When Yoast SEO is deactivated the redirect works just fine.

    Is there a fix for this? I searched the forum and found a reference for this but when this issue was brought up the admin stated “new problems>new support request”

    Thanks.

    https://www.ads-software.com/plugins/salesforce-wordpress-to-lead/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    I’ve tested the plugin with Yoast SEO active and cannot duplicate the issue. I just ran a test and Yoast SEO alone is not the issue (it’s likely a conflict with your theme and Yoast SEO and/or SFW2L).

    Does switching to a bundled theme with Yoast SEO active work?

    If you can send me a link to the form (with Yoast enabled) I’m happy to troubleshoot what the issue could be.

    Thread Starter Troutslayer25

    (@troutslayer25)

    Thread Starter Troutslayer25

    (@troutslayer25)

    Did you get a chance to look at that page? Thanks.

    Thread Starter Troutslayer25

    (@troutslayer25)

    After the form is submitted the url changes to

    https://840.3d5.myftpupload.com/contact-us/#sf_form_salesforce_w2l_lead_3

    Plugin Author Nick Ciske

    (@nickciske)

    Hmmm…. that didn’t help.

    1. Does switching to a bundled theme with Yoast SEO active work?

    2. Can you turn on WP_DEBUG/WP_DEBUG_LOG and send me the output of a form submission?

    3. Can you show me the field settings for that form?

    Thread Starter Troutslayer25

    (@troutslayer25)

    I added the form to a different page and the redirect works so it is something on that particular page?

    set debug to ON in wp-config. Here is the info from the plugin.

    Array
    (
    [version] => 2.0
    [successmsg] => Success!
    [errormsg] => This field is required.
    [emailerrormsg] => The email address you entered is not valid.
    [captchaerrormsg] => The text you entered did not match the image.
    [requiredfieldstext] => These fields are required.
    [sferrormsg] => Failed to connect to Salesforce.com.
    [submitbutton] => Go!
    [subject] => Thank you for contacting %BLOG_NAME%
    [showccuser] =>
    [ccusermsg] => Send me a copy
    [email_sender] =>
    [ccadmin] =>
    [captcha] =>
    [da_token] =>
    [da_url] =>
    [da_site] =>
    [commentstoleads] =>
    [commentsnamefields] =>
    [usecss] =>
    [wpcf7css] =>
    [forms] => Array
    (
    [1] => Array
    (
    [form_name] => My New Lead Form 2015-08-31 03:41:51
    [source] => Lead form on SCS DEV
    [labellocation] => top-aligned
    [labellocationsidebar] => top-aligned
    [returl] => https://840.3d5.myftpupload.com/thank-you/
    [type] => lead
    [inputs] => Array
    (
    [first_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => First name
    [value] =>
    [pos] => 1
    [opts] =>
    )

    [last_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Last name
    [value] =>
    [pos] => 2
    [opts] =>
    )

    [email] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Email
    [value] =>
    [pos] => 3
    [opts] =>
    )

    [phone] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Phone
    [value] =>
    [pos] => 4
    [opts] =>
    )

    [description] => Array
    (
    [show] =>
    [required] =>
    [type] => textarea
    [label] => Message
    [value] =>
    [pos] => 5
    [opts] =>
    )

    [title] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Title
    [value] =>
    [pos] => 6
    [opts] =>
    )

    [company] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Company
    [value] =>
    [pos] => 7
    [opts] =>
    )

    [street] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Street
    [value] =>
    [pos] => 8
    [opts] =>
    )

    [city] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => City
    [value] =>
    [pos] => 9
    [opts] =>
    )

    [state] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => State
    [value] =>
    [pos] => 10
    [opts] =>
    )

    [zip] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => ZIP
    [value] =>
    [pos] => 11
    [opts] =>
    )

    [country] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Country
    [value] =>
    [pos] => 12
    [opts] =>
    )

    [Campaign_ID] => Array
    (
    [show] =>
    [required] =>
    [type] => hidden
    [label] => Campaign ID
    [value] =>
    [pos] => 13
    [opts] =>
    )

    )

    [successmsg] => Success!
    [captchaform] =>
    [submitbutton] => Submit
    [requiredfieldstext] => These fields are required.
    [requiredfieldstextpos] =>
    [org_id] => 00DA0000000Ivts
    [cc_email_subject] =>
    [donotautoaddcolontolabels] =>
    )

    [2] => Array
    (
    [form_name] => My New Lead Form 2015-09-01 03:07:52
    [source] => Lead form on SCS DEV
    [labellocation] => top-aligned
    [labellocationsidebar] => top-aligned
    [returl] => /thank-you/
    [type] => lead
    [inputs] => Array
    (
    [first_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => First name
    [value] =>
    [pos] => 1
    [opts] =>
    )

    [last_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Last name
    [value] =>
    [pos] => 2
    [opts] =>
    )

    [email] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Email
    [value] =>
    [pos] => 3
    [opts] =>
    )

    [phone] => Array
    (
    [show] => 1
    [required] =>
    [type] => text
    [label] => Phone
    [value] =>
    [pos] => 4
    [opts] =>
    )

    [description] => Array
    (
    [show] =>
    [required] =>
    [type] => textarea
    [label] => Message
    [value] =>
    [pos] => 5
    [opts] =>
    )

    [title] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Title
    [value] =>
    [pos] => 6
    [opts] =>
    )

    [company] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Company
    [value] =>
    [pos] => 7
    [opts] =>
    )

    [street] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Street
    [value] =>
    [pos] => 8
    [opts] =>
    )

    [city] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => City
    [value] =>
    [pos] => 9
    [opts] =>
    )

    [state] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => State
    [value] =>
    [pos] => 10
    [opts] =>
    )

    [zip] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => ZIP
    [value] =>
    [pos] => 11
    [opts] =>
    )

    [country] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Country
    [value] =>
    [pos] => 12
    [opts] =>
    )

    [Campaign_ID] => Array
    (
    [show] =>
    [required] =>
    [type] => hidden
    [label] => Campaign ID
    [value] =>
    [pos] => 13
    [opts] =>
    )

    )

    [successmsg] => Success!
    [captchaform] =>
    [submitbutton] => Submit
    [requiredfieldstext] => These fields are required.
    [requiredfieldstextpos] =>
    [org_id] => 00DA0000000Ivts
    [cc_email_subject] =>
    [donotautoaddcolontolabels] =>
    )

    [3] => Array
    (
    [form_name] => My New Lead Form 2015-09-11 07:31:42
    [source] => Lead form on South Coast Solar Contact Page
    [labellocation] => top-aligned
    [labellocationsidebar] => top-aligned
    [returl] => https://840.3d5.myftpupload.com/thank-you/
    [type] => lead
    [inputs] => Array
    (
    [first_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => First name
    [value] =>
    [pos] => 1
    [opts] =>
    )

    [last_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Last name
    [value] =>
    [pos] => 2
    [opts] =>
    )

    [email] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Email
    [value] =>
    [pos] => 3
    [opts] =>
    )

    [phone] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Phone
    [value] =>
    [pos] => 4
    [opts] =>
    )

    [description] => Array
    (
    [show] =>
    [required] =>
    [type] => textarea
    [label] => Message
    [value] =>
    [pos] => 5
    [opts] =>
    )

    [title] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Title
    [value] =>
    [pos] => 6
    [opts] =>
    )

    [company] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Company
    [value] =>
    [pos] => 7
    [opts] =>
    )

    [street] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Street
    [value] =>
    [pos] => 8
    [opts] =>
    )

    [city] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => City
    [value] =>
    [pos] => 9
    [opts] =>
    )

    [state] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => State
    [value] =>
    [pos] => 10
    [opts] =>
    )

    [zip] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => ZIP
    [value] =>
    [pos] => 11
    [opts] =>
    )

    [country] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Country
    [value] =>
    [pos] => 12
    [opts] =>
    )

    [Campaign_ID] => Array
    (
    [show] =>
    [required] =>
    [type] => hidden
    [label] => Campaign ID
    [value] =>
    [pos] => 13
    [opts] =>
    )

    )

    [successmsg] =>
    [captchaform] =>
    [submitbutton] => Click Here.
    [requiredfieldstext] => These fields are required.
    [requiredfieldstextpos] =>
    [org_id] => 00DA0000000Ivts
    [cc_email_subject] =>
    [donotautoaddcolontolabels] =>
    )

    [4] => Array
    (
    [form_name] => My New Lead Form 2015-09-15 01:14:18
    [source] => Lead form on South Coast Solar
    [labellocation] => top-aligned
    [labellocationsidebar] => top-aligned
    [returl] => https://840.3d5.myftpupload.com/thank-you/
    [type] => lead
    [inputs] => Array
    (
    [first_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => First name
    [value] =>
    [pos] => 1
    [opts] =>
    )

    [last_name] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Last name
    [value] =>
    [pos] => 2
    [opts] =>
    )

    [email] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Email
    [value] =>
    [pos] => 3
    [opts] =>
    )

    [phone] => Array
    (
    [show] => 1
    [required] => 1
    [type] => text
    [label] => Phone
    [value] =>
    [pos] => 4
    [opts] =>
    )

    [description] => Array
    (
    [show] =>
    [required] =>
    [type] => textarea
    [label] => Message
    [value] =>
    [pos] => 5
    [opts] =>
    )

    [title] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Title
    [value] =>
    [pos] => 6
    [opts] =>
    )

    [company] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Company
    [value] =>
    [pos] => 7
    [opts] =>
    )

    [street] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Street
    [value] =>
    [pos] => 8
    [opts] =>
    )

    [city] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => City
    [value] =>
    [pos] => 9
    [opts] =>
    )

    [state] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => State
    [value] =>
    [pos] => 10
    [opts] =>
    )

    [zip] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => ZIP
    [value] =>
    [pos] => 11
    [opts] =>
    )

    [country] => Array
    (
    [show] =>
    [required] =>
    [type] => text
    [label] => Country
    [value] =>
    [pos] => 12
    [opts] =>
    )

    [Campaign_ID] => Array
    (
    [show] =>
    [required] =>
    [type] => hidden
    [label] => Campaign ID
    [value] =>
    [pos] => 13
    [opts] =>
    )

    )

    [successmsg] => Success!
    [captchaform] =>
    [submitbutton] => Go!
    [requiredfieldstext] => These fields are required.
    [requiredfieldstextpos] =>
    [org_id] => 00DA0000000Ivts
    [cc_email_subject] =>
    [donotautoaddcolontolabels] =>
    )

    )

    [hide_salesforce_link] =>
    [org_id] => 00DA0000000Ivts
    [ccothers] =>
    [emailfromname] =>
    [emailfromaddress] =>
    [wpcf7jsfix] =>
    [sslverify] =>
    )

    Thread Starter Troutslayer25

    (@troutslayer25)

    Switching to a bundled theme caused the whole site to crash so I had to load an earlier version and rebuild some stuff.

    Plugin Author Nick Ciske

    (@nickciske)

    “I added the form to a different page and the redirect works so it is something on that particular page?”

    Yes, that would indicate something else on that page is interfering with the form submission/redirect.

    “Switching to a bundled theme caused the whole site to crash”

    That would indicate there are some code quality issues with your site and/or theme… switching to a bundled theme may not look pretty but it shouldn’t cause any permanent damage…

    Thread Starter Troutslayer25

    (@troutslayer25)

    Thread Starter Troutslayer25

    (@troutslayer25)

    Agreed. That’s why I moved it to a different page but got the same issue. Maybe I will try to clone the page it works on and delete the other content.

    Would be nice to identify a fix though.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Redirect URL does not work when Yoast SEO plugin is activated’ is closed to new replies.