Problem with Form when using .htaccess redirect

I have two different domains directing to one page. Since I 've set the redirect, the Form does load home, but not the thankyou page.
The redirect is an if-clause. If the adress is anything other than then set it to https:/ /

RewriteCond %{HTTP_HOST} !
RewriteRule (.*) https: //$1 [r=301,L]

Can anyone help?

It seems it has been a Cache problem