# Form does not redirect after submit

**URL:** <https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479>\
**Category:** Product Support\
**Created:** [December 19, 2020, 3:04pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479 "2020-12-19T15:04:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rauljauregi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rauljauregi/32/4119_2.png) [@rauljauregi](https://forum.mautic.org/u/rauljauregi)\
**Post date:** [December 19, 2020, 3:04pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/1 "2020-12-19T15:04:43Z")

</div>

**Your software**  
My Mautic version is: 3.1.2  
My PHP version is: 7.3  
My Database type and version is: My SQL 8

**Your problem**  
My problem is: After submitting a form there is nor redirection and keeps waiting

These errors are showing in the log: No errors

Steps I have tried to fix the problem:

I created a form on my mautic isnstallation [mautic.mysite.com](http://mautic.mysite.com) and placed by javascript, or the plugin Mautic for wordpress.

After submit the form doesn´t redirect.

I checked this solutions:

> [@Please wait solution](https://forum.mautic.org/t/please-wait-solution/10199):
>
> The problem ofa form submission hanging at the “Please Wait” has ben around a while now and multiple updates have not fixed the issue. This was fast becoming a deal breaker for me. For the non techs out there, this is what is going on. As a non techie this is how I figured it out and understood it. If you have your mautic installation in a sub directory, ie NOT in a sub domain or on a domain, you will have this issue. So solution number 1 is move your mautic to a domain or sub domain. If you …

But the line on the file mautic.form,js are different and cannot find which lines are needed to change.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 20, 2020, 2:48pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/2 "2020-12-20T14:48:10Z")

</div>

Hi, plz also provide this info:

- does it save the values?  
Thx

---

<div class="post-metadata">

**Author:** ![rauljauregi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rauljauregi/32/4119_2.png) [@rauljauregi](https://forum.mautic.org/u/rauljauregi)\
**Post date:** [December 20, 2020, 3:01pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/3 "2020-12-20T15:01:57Z")

</div>

Yes it saves the values. Even it redirects correctly when testing on mautic. But when embebing on the website it saves ok but does not redirect.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 20, 2020, 5:35pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/4 "2020-12-20T17:35:52Z")

</div>

Quick ideas:

- Do you run a Wordpress on the main domain? If so, do you have Wordfence?
- Is the form on another domain? CORS set okay?  
Thx,  
Joey

---

<div class="post-metadata">

**Author:** ![rauljauregi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rauljauregi/32/4119_2.png) [@rauljauregi](https://forum.mautic.org/u/rauljauregi)\
**Post date:** [December 20, 2020, 5:56pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/5 "2020-12-20T17:56:08Z")

</div>

Thank you for your response,

Yes the main domain runs a WordPress, but i have not wordfence, even not a security plugin yet.  
I have not restrictions to any domain, and CORS not setup.

I don´t know what to do

---

<div class="post-metadata">

**Author:** ![rauljauregi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rauljauregi/32/4119_2.png) [@rauljauregi](https://forum.mautic.org/u/rauljauregi)\
**Post date:** [December 21, 2020, 6:03pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/6 "2020-12-21T18:03:53Z")

</div>

No I cannot access to the campaign which is running, but i would want to add another email… I don´t know if that is the issue, that it is not possible to edit when a campaign is already running,

---

<div class="post-metadata">

**Author:** ![rauljauregi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rauljauregi/32/4119_2.png) [@rauljauregi](https://forum.mautic.org/u/rauljauregi)\
**Post date:** [December 22, 2020, 2:40pm UTC](https://forum.mautic.org/t/form-does-not-redirect-after-submit/17479/7 "2020-12-22T14:40:19Z")

</div>

I found the solution, just in case someone has the same issue here is what worked for me:

> <https://github.com/mautic/mautic/issues/7498>
>
> Hello guys, first time here!
> Have been in trouble to use a Mautic form in my landing page, got always the same...
