# White Page after Landing Page Form submit instead of URL Redirect

**URL:** https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098
**Category:** Product Support
**Created:** [April 20, 2021, 2:59pm UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098 "2021-04-20T14:59:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [April 20, 2021, 2:59pm UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/1 "2021-04-20T14:59:17Z")

</div>

**Your software**  
My Mautic version is: 3.3.2  
My PHP version is: 7.3.27  
My Database type and version is: MySQL 5.7.33

**Your problem**  
My problem is:

I have a landing page with a signup form which should redirect to another URL at the same domain (another Mautic Landing Page which is used as a Thank-You-Page), but since the last Update Mautic is not redirecting but only shows a white page. The Address Bar of the white page has the Form-Submit URL in it.

Even though the redirect does not work, the submission of the form triggers the correct Email to be send.

These errors are showing in the log:

No Logs at all.

Steps I have tried to fix the problem:

I found a forum post which stated to have the following line in the htaccess file:

> Header always unset X-Frame-Options

However, this made no difference.

Any help is appreciated.

Thanks,  
Stephan

---

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [April 30, 2021, 11:39am UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/2 "2021-04-30T11:39:49Z")

</div>

Still getting the white page after Form submission. No Redirect.

Now I checked again what happens if I revert back to the old Page Editor, which had no impact.

Also checked what happens if I change to “Display Message” after form submission. Still I see a white page, but in the page source I see the following:

```
<html>
    <head>
        <script type="text/javascript">

```

parent.postMessage("\x7b\x22success\x22\x3a1\x2c\x22results\x22\x3a\x7b\x22first\x5fname\x22\x3a\x22\x22\x2c\x22last\x5fname\x22\x3a\x22\x22\x2c\x22email\x5faddress\x22\x3a\x22support\x40emaildomain\x2ecom\x22\x2c\x22privacy\x5fpolicy\x5facceptance\x22\x3a\x22Yes\x22\x2c\x22receiving\x5fproduct\x5fand\x5fser\x22\x3a\x22Yes\x22\x2c\x22email2\x22\x3a\x22\x22\x7d\x2c\x22successMessage\x22\x3a\x22Thank you for signing up\x21 Please check your Email Inbox \x28and Spam\x29 as you need to confirm your Email Address before we could send you anything\x2e\x22\x2c\x22formName\x22\x3a\x22mailinglistsignup\x22\x7d", ‘\*’);

```
            </head>

    <body></body>
</html>

```

The message is actually there, but not displayed.

I have no idea where the problem is.

Anyone an idea?

Thanks for helping.

Best Regards,  
Stephan

---

<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: [April 30, 2021, 12:33pm UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/3 "2021-04-30T12:33:32Z")

</div>

Hey,  
Quick idea: are you using spec characters in the redir URL?  
Thx  
Joey

---

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [April 30, 2021, 2:39pm UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/4 "2021-04-30T14:39:30Z")

</div>

No spec characters.  
The URL is “thankyou-confirmyouremailaddress” and it is on the same domain as the mautic installation.

Thanks for the idea.

---

<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: [May 1, 2021, 8:17am UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/5 "2021-05-01T08:17:16Z")

</div>

Shot in the dark: CORS disabled? (In settings?)

---

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [May 1, 2021, 2:59pm UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/6 "2021-05-01T14:59:07Z")

</div>

Disabled the CORS in settings and rebuild any cache there was, but no luck. Still a white page after form submission.

Thanks for the suggestion, joeyk.

---

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [May 6, 2021, 9:36am UTC](https://forum.mautic.org/t/white-page-after-landing-page-form-submit-instead-of-url-redirect/19098/7 "2021-05-06T09:36:19Z")

</div>

Solution → What worked for me!

I replaced the manually copied Form on the Landing Page with the Automatic Form.  
Everything else stayed the same.

Now it works that Mautic is redirecting to the Redirct URL on Form Submission.

I have no idea why it did not work with the manually copied Form as I made sure that everything was correctly copied.

Anyway it works now, which is the most important thing.

Thanks,  
Stephan
