Bunu javascript ile kolayca halledebilirsin

if (self != top) {
top.location.replace(location.href);
}