• Hello Everyone!

    I’ve done my homework and here are the things I’ve tried πŸ™‚

    • Verified that the word “name” is not being used as a value
    • Verified wp_header() and wp_footer() are present on their respective templates
    • Checked firebug and it seems to be posting but returns with a 404 page instead of the data to populate the div
    • I’ve updated everything and am running 4.4.1 WP with 4.3.1 CF7
    • I made a new form with dupe values and plugged that into the template but when tested it did not work
    • I was told the email does get sent, but the redirect happens
    • Made sure there was nothing in the “additional settings” field

    A little background – This site is a bit old and was created some time ago. My boss asked me to look into why it redirects to a 404 when someone uses the contact form. The webpage is welsh.com and the form is on the contact page. I’m running out of options to try and have exhausted all the google links (they are all purple). If more info is needed, please let me know.

    Thanks everyone!

    https://wordpress.org/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • When loading your page, the error console of e.g. Firefox browser shows:

    TypeError: $ is not a function
    $('a.contact-box').click(function() {
    http://www.welsh.com/contact/
    Line 66

    This error (unrelated to CF7) breaks all other scripts on the page, including the CF7 sending script, so the sending can’t work and you get that 404 error.

    PS. Unrelated to this, the page includes jquery library more than once, in different versions, which should never happen.

    Thread Starter welshconsulting

    (@welshconsulting)

    Thank you Ov3rfly!!!!

    I saw this but I thought it was JQuery when reading the error in Chrome. After opening in firefox and looking at the error i noticed it’s actually the contacts page as you say. Why do I even use Chrome?! Oh wait, it uses less than half the system resources that Firefox does.

    Regardless, I’m commenting this out now to see if it works. Thanks again!!

    You should also remove the double loading of jquery, once by WordPress core, once by your theme.

    1. /wp-includes/js/jquery/jquery.js?ver=1.11.3
    2. /welshwp/wp-content/themes/welsh/js/jquery-1.5.1.min.js <- get rid of this

    Thread Starter welshconsulting

    (@welshconsulting)

    This is one of many things wrong with this page. I think it was created between 05-08 and never has been updated or touched. Thanks for pointing that out, I’ll add it to my list.

    Thanks again man!!!

    I hope someone finds this helpful in the future. Though it does list on the CF7 site that JS typically breaks functionality.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirects after submission’ is closed to new replies.