Live preview not work. X-Frame-Options

Hi. Live preview of my item not work
I have this issue :
Refused to display $URL in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’ when you validate form.

When i remove frame all work perfect.

I have modified my.htaccess file whith
Header set X-Frame-Options SAMEORIGIN

But is it still not working. Any help please. How to fix it?

Thanks for your help

We have the same problem. Our demos don’t display on live preview iframes, but when you remove it it’s ok.

use this " "

1 Like

This means that your website will display in a frame only if frame is coming from your website. With Envato preview, frame is coming from Envato, so your website refuses to load in a frame. You should remove this header if you want for preview to work. Some browsers can use ALLOW-FROM value, but it is limited, and Chrome is not using it.