diff --git a/index-wp-redis.php b/index-wp-redis.php index 46e4d9c1168ec34d725b40cecf44511a73898f45..290d7cb06147ed8c97d5ccccc28a20e3208757ee 100644 --- a/index-wp-redis.php +++ b/index-wp-redis.php @@ -69,6 +69,8 @@ if (isset($_GET['refresh']) || $_GET['refresh'] == $secret_string || ($_SERVER[' +} else if ($_SERVER['REMOTE_ADDR'] != $ip_of_your_website && strstr($current_url, 'preview=true') == true) { + require('./wp-blog-header.php'); } // else { // This is what your server should get if no cache exists //depricated, as the ob_start() is cleaner // require('./wp-blog-header.php'); @@ -92,4 +94,4 @@ function getMicroTime($t) -?> \ No newline at end of file +?>