• Kind of like the problem a few posts lower down.

    When I submit a form, it sends just fine. I get the email, and it’s properly configured.

    The problem is, on the website itself clicking the “Submit” button causes the page to refresh using the “404.php” template. The url still reads “/contact/” but it’s no longer using the contact page template, and so of course it’s not displaying the successful submission message. The form sends, but the end user doesn’t know it.

    The strange thing is that I first tested this on a development site, and it works flawlessly. The settings are exactly the same on both the dev site and the life site; the plugins used are exactly the same; the version of WordPress is exactly the same. They’re even on the same server. Everything matches…but still I get this weird refresh using the wrong template.

    Any insight into what might be going on?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, so you are saying that the production and development sites are basically identical. Are the URL in the Admin settings the same? Can you add the shortcode from one of your forms into a test post and see if that works? If it doesn’t can you share the error message?

    Can you also share the contact form URL?

    Thank you

    Thread Starter 1db

    (@1db)

    Actually, I solved the problem. I still don’t know why it happened, but it doesn’t happen anymore.

    This whole thing started because the default fields display with a colon after the label, and I didn’t want one; so I disabled the default fields and set up duplicates with the labels I wanted. Pointless, I know now, because you can simply rewrite the labels, but I didn’t know that then.

    With the default fields activated, the form works flawlessly. Without them, it gives that weird 404 error. I solved that by setting a redirect to a thank you page and setting the time to 0, so the 404 never showed, but it was still trying to execute that way. When I went back to the default name and email fields, and simply rewrote the labels, the form works perfectly.

    I am happy to hear you resolved your issue 🙂

    Can you mark this support thread as resolved.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Submit causes Error 404’ is closed to new replies.