Redirection after form posted causing 404
-
Since upgrading my two forms from 3.0 to 4.0.38 two problems occur.
(WordPress 4.3.1, PHP 5.5.5)1. I get a 404 error after the form is posted and then 3 seconds later (my redirect delay time), it does actually redirect to the intended page.
2. The little message that used to flash up (Your message has been sent.) doesn’t work anymore (not that big a deal). The submit button does change to “Submitting”.
I want to redirect to the home page, but it doesn’t matter which page I redirect to, the same thing happens.
I disabled all other plugins. Made no difference.
I installed a 404 error logger plugin to see what URL is actually causing the 404. Here is what appears in the log for 1 use of the form.
/contact/ /contact/Scripts/AC_RunActiveContent.js /contact/Scripts/AC_RunActiveContent.js
In the header of each page is this line…
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
So I thought, okay, maybe it isn’t the plugin, but something about that javascript. So I deleted that line (breaking other stuff). The only difference now is that the 404 is caused by this URL
/contact/
I’ve looked at all the settings thinking maybe I have something turned on that should be off or vice versa. I don’t use any of the more sophisticated features. I even turned off “Enable an HTML anchor tag on the form POST URL”. No difference.
I turned on WordPress debug.log. I see nothing there that is related to this problem but happy to send it to you.
Everything worked fine with version FSCF 3.0.
I have the problem on the live site here
https://www.onlineadvantage.com.au/contact/
https://www.onlineadvantage.com.au/testdrive/I have replicated it on a test site with all the plugins disabled and all of my debug finagling is done there but I had to lock down that site because of duplicate content.
Any ideas?
- The topic ‘Redirection after form posted causing 404’ is closed to new replies.