• Resolved felixrami

    (@felixrami)


    Hi! I getting problems to insert a iframe, Jquery or Javascript in a different site where WPAdvancedads is installed. This is due apparently to CORS policy and because the site where is installed send a header X-Frame-Options: SAMEORIGIN … I know how deactivate through .htaccess but it dosen´t works. Any idea?. Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support ahmeddr

    (@ahmeddr)

    Hi Felix,

    Thanks for reaching out!

    Typically, cross-site iframes are blocked by the target site’s security headers, X-Frame-Options and/or the CSP frame-ancestors directive. If the page you’re embedding sends either of these, the change has to be made on that (framed) site. If you’ve already adjusted those headers there and it’s still blocked, there isn’t anything Advanced Ads can do on the embedding side; this falls outside the plugin’s scope and the purpose of this forum.

    Thank you for your understanding!

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘How deactivate X-Frame-Options: SAMEORIGIN’ is closed to new replies.