Contact Form 7 404 Error – Wordpress Plugin
- Posted in Blog
We’ve used the popular Contact Form 7 plugin for Wordpress for most of our Wordpress projects. It allows you to define multiple forms, with custom fields – ideal for longer or more complex contact / enquiry forms.
On one site, we encountered an issue where Wordpress would return a 404 error when submitting the form – although we’d still get the email containing the form information. We’d configured Contact Form 7 with a single form, called “Contact”. The code used to insert it into the Contact page was [contact-form 1 "contact"].
The workaround to fix the 404 error is to create a second form (we called ours “contactform”), and use [contact-form 2 "contactform"] on the contact page in question. This cured the 404 issue.
The issue seems to surround the first form (possibly the preconfigured form provided when you install the plugin). We’ve just left that form in the system, but don’t use it, and all other forms work without issue.
Comment #1
Hello I had “page not found”(Error 404) error on form submission.
I rectified it by adding
wp_footer();
line in footer.php of my theme.
Now it is working fine.