Title: Error 404 when submit
Last modified: March 22, 2019

---

# Error 404 when submit

 *  Resolved [xianzen](https://wordpress.org/support/users/xianzen/)
 * (@xianzen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/)
 * Hello Sir,
 * AF works great in my localhost without issues and it redirects to thank you page.
   But when using it in my live WordPress site, it has an error 404? I could not
   figure out to fix it because I could not find where to edit the redirect URL 
   of the form action.
 * Heres the example error I got when submitting the button: [http://mydomainname.com/.com/mydomain/mydomain/sample-form/](http://mydomainname.com/.com/mydomain/mydomain/sample-form/)
 * Can you help me where to fix it or edit the form action? your help and guidance
   are greatly appreciated. I would like to buy a pro advanced forms plugin if this
   issue will fix. Thanks, and please let me know.

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

 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11347529)
 * That’s very weird! You shouldn’t have to specify a redirect URL as the form will
   automatically reload the page and display a success message. Could I get access
   to your site to check out the form?
 * If you want to perform a redirect you can pass it as the “redirect” argument (
   [https://advancedforms.github.io/guides/basic/displaying-a-form/](https://advancedforms.github.io/guides/basic/displaying-a-form/)).
 *  Thread Starter [xianzen](https://wordpress.org/support/users/xianzen/)
 * (@xianzen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11348500)
 * Hello Sir Fabian,
 * Yeah, that is so weird because upon testing here in my localhost everything went
   well. Now I’m trying to copy the entire site and database to my other hosting
   and upon testing it did not redirect to any URL but instead, it displays thank
   you message. I don’t know how to fix it actually or continue using the advanced
   forms? I will be supposed to order the pro version if things work but it didn’t.
 * Do you think the web host PHP or MySQL version causing the issue? coz they already
   have the latest 7 of PHP version?
 * Thanks
 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11355046)
 * I’m not sure what might be causing this. Is there any way I can check out the
   site myself to see if I can identify the problem?
 * Thanks!
 *  Thread Starter [xianzen](https://wordpress.org/support/users/xianzen/)
 * (@xianzen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11360403)
 * Now it is solved. The ACF version was causing the problem and I have updated.
 * Now I’m heading to the calculations? does it need additional codes to make it
   work? do you have demo for the pro so that I can try before purchase?
 * Btw, you can close this thread as it is solved already, thanks for a very good
   and quick support.
    -  This reply was modified 7 years, 2 months ago by [xianzen](https://wordpress.org/support/users/xianzen/).
 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11361104)
 * Glad you figured it out!
 * It depends a bit on what you want to achieve with your calculated fields. If 
   you want to perform arithmetic (i.e. +, -, *, /) you’ll need to write some code.
   It’s really simple to do and the documentation has some example code: [https://advancedforms.github.io/pro/configuration/using-calculated-fields/](https://advancedforms.github.io/pro/configuration/using-calculated-fields/)
 * If you only want to display form data with some formatting you don’t need to 
   write any code though.
 * There is no demo for the Pro version but if you decide to purchase and discover
   that it wasn’t the right tool I’d be happy to issue a refund! 🙂

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

The topic ‘Error 404 when submit’ is closed to new replies.

 * ![](https://ps.w.org/advanced-forms/assets/icon-256x256.png?rev=1894254)
 * [Advanced Forms for ACF](https://wordpress.org/plugins/advanced-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-forms/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/error-404-when-submit/#post-11361104)
 * Status: resolved