How to remove X-Frame-Options: SAMEORIGIN” from WordPress?

Check this question How does wordpress restrict X-FRAME to sameorigin?.

The questioner’s issue was resolved by modifying his site’s .htaccess file by adding the below line to it as his Web Host set the X-Frame-Option.

Header always unset X-Frame-Options

You can check if that works for you.

Leave a Comment