How To Get SMF 2.0.6 to Open in a New Frame

Author: , October 23rd, 2013

The latest patch version of the SMF forum, 2.0.6, now prevents the site from opening up in an HTML frame. Simply comment out line 104 inside index.php: The Problem: $ grep -Rni X-Frame-Options * index.php:104: header(‘X-Frame-Options: SAMEORIGIN’); The Solution: //header(‘X-Frame-Options: SAMEORIGIN’);

How To Get WordPress To Open A New Page In An iFrame

Author: , July 30th, 2011

Edit the file wordpress/wp-includes/functions.php and just comment out the line in the middle:

UPDATE: Based on Brent’s comment, here is a better solution: