I suppose there's a good chance that it's totally innocent and that the guy just likes your site or thinks the content is relevant to his.
You may find that a direct link or redirection would benifit you more as this would allow visiters to see the actual url of your site, currently they cannot directly bookmark your site or link to it themselves without looking at the his source.
If you decide that you would prefer not to have your site inside someone elses frame you could try contacting him and asking him to replace it with a link, if you can't get hold of him jump-out-of-frame scripts a very short and simple.
Don't even bother contacting them. You'll never get to the bottom of why every jerk on the Web makes the decisions he does. Just use a break-out-of-frames script and forget about it.
I've found my site iframed on several occasions and it really hasn't caused any harm other than annoyance.
This sounds more sinister than a simple frameset trap problem. You're saying that their site becomes YOUR site yes?
I can think of a reason why someone would do this...
Your content... but their URL shows up.
People link to their URL, they get the Google PR. Then move on and frame another site, and so on, until they have the links they want.
The first line of javscript I add to every site I make:
if (parent.frames.length > 0)
parent.location.href = location.href;
Krapulator, I've been using the following for ages and ages. Given that our mutual methods appear to accomplish the same thing, is it kind of a 'six one way, half-dozen the other' choice?
if (top.location!= self.location)
top.location = self.location
(I like yours, I'm just not wild about changing umpteen pages if I don't have to:)
|People link to their URL, they get the Google PR. Then move on and frame another site, and so on, until they have the links they want. |
What links do they have that they want? I do not understand this. How do they benefit from linking their domain (URL) to another site by iframe? Please, can you give more details?
How do you find out if your site is being IFramed?
Are there any tell tale signs, other than stumbling upon your site with another name, randomly when browsing the web.
The frame does show up as a referrer, so that's a frequent way to come across such cases.
I used to have my framebuster code set up to redirect to...
location.href + '?noframes'
...so that I could see the redirects in my logs. Not sure I would recommend this because years later I still get people vsiting these URLs, causing minor glitches in my stats.
|How do you find out if your site is being IFramed? |
Well, while browsing through my logs one day I found a ton of hits coming to my site from this mysterious URL that is somewhat related to my site. So I visit the URL and I see my site, but with their URL in the browser window.
This happens quite frequently when a site has an affiliate program.
I found a guy who was running 1X1 pixel size iframes of some high paying affiliate programs. He had a niche site and was running affiliate program links through the iframes. It placed about 10 cookies on the users computer and they got credit if they bought something through them for the next 45-90 days. We got him banned from CJ for doing this.
I don't know if this applies to your situation or maybe it does. I would always recommend using a script to disallow this.
_They_ get a benefit because people link to _their_ site, thinking it's the original.