site adresi iletebilir misin hocam? header.php gibi bir yere ekledin değil mi hocam her sayfanın erişebileceği.
Site php değil... Belirtiğim kodlar searc concolede uyarılarda verdi. Bunun yerine başka bir yöntem JS ile ekledim.
<script type="text/javascript">
if(top.location != window.location) { window.location = '/error_iframe.php'; }
</script>