Thread: SEO yes or no ?
View Single Post
Old 04-30-2015, 10:12 AM  
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
Quote:
Originally Posted by ownedbox View Post
it makes much sense if this programmer can create a code to break the frame when someone found your image on search engine and redirect this traffic to the index.
Put this in the HEAD section of your header file... before the closing /HEAD. This will break out of the frames.

Code:
<style>html{display:none;}</style>
<script>
   if(self == top) {
       document.documentElement.style.display = 'block'; 
   } else {
       top.location = self.location; 
   }
</script>
<base target="_top">
__________________
NSFW
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote