• I have two forms, A contact form which works great. A photographers form which, while it works in the sense it sends the e-mail. It triggers a 404 error instead of a thanks for sending message.

    Has anyone else come across this? How do I remedy?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter perad

    (@perad)

    To reiterate what happened. I have 2 forms.

    Contact Form
    Photographers Form

    When I submit the contact form I am redirected to the contact page with the #whatever on the end. This works fine.

    However, with the photographers form there is a problem. It redirects me to the #whatever but instead of form showing up again, I am taken to a 404 error. If I copy this URL and run it in another tab the page loads fine. I really do not know what is going here. It just doesn’t make sense.

    Any input is greatly appreciated

    Thread Starter perad

    (@perad)

    OK, how can I modify this plugin to redirect the user to site.com/message-sent?

    I cannot work out what is causing this 404 error to display. It doesn’t make any sense. Best solutions appears to be to redirect it to somewhere completely else.

    Anyone know how to do this?

    I have the same issue… Any suggestions?

    Suffered the same issue using Contact Form 7 in WordPress v2.8 + v2.8.1

    I had a single form configured called “Contact”. It was the first and only form I had. The code it produced to insert into my page was [contact-form 1 "contact"], which I put into my Contact page.

    On submitting the form, I’d receive the email but get a 404 on the site.

    My workaround was to create a second form, called contactform, and use [contact-form 2 "contactform"] on my contact page. This works for me.

    I’ve just left the first contact form within Contact Form 7, but I don’t use it. I can only presume it’s something to do with it being the very first form.

    Hey there.
    Same issue for me, and neither:
    – adding wp_footer to the template works
    – creating a second form (cf. n7studios)
    If anyone else has a solution, you’re most welcome.

    Would you explain more in detail?

    – Where is your site (URL)?
    – What plugins are you using?
    – What theme are you using?
    – Where is your server hosted on?
    – WordPress and Contact Form 7’s version?
    – What kind of web server are you using?

    Having the same problem.

    Have tried recreating the file 3 times, also uninstalling, deleting then reuploading and installing a couple of times as well.

    I had it working perfectly a couple of days ago, and I can’t think what I might have changed that’s done this.

    url to contact page is currently:
    https://www.ausseasailingschool.com.au/temp_site_local/contact-us

    Only other plugin is a random image generator, latest version of both wordpress and contact form 7.

    I had this same issue, and strangely enough, I fixed it by switching a field I created called [name] to [your-name]. Not sure why that caused a problem but it seems to have done the trick.

    @bagheadinc it’s because ‘name’ is used as a query keyword of WordPress. There is FAQ topic for that:

    For example, ‘name’ is used in the query, so ‘name’ is not available for a field name. The best practice in avoiding unavailable names is adding a prefix or suffix to the name, for example, use ‘your-name’ or ‘name-1234′ instead of ‘name.’

    Thanks takayukister!

    I was having the same problems (WP 2.8.6) and you’re right, changing the ‘name’ field fixed the problem

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Contact Form 7] Getting a 404 Error when submitting a form’ is closed to new replies.