Google Transfering Domain Trust to Spam
On Strike Point today DaveN noted that subdomains are doing well in Google again.
SEO Blackhat posted about a site making big $$$$ by getting indexed as framed content off a well established .gov domain.
It is easy to find those sorts of sites by searching for something like [inurl:.gov frameredirect]. Although Quadzilla said Google is already plugging that hole I am sure there are others still open.
Although the links are in javascript, it really shows what a scam in general the web filtering concerns and the Ready.gov site are when you realize just how easy it is to have Ready.gov reference your site or a porn site or an Al Queda site of your choice.
How pathetic is that?
Comments
Hi Aaron
Out of interest would you plese explain how this works.
Whilst it's obvious how to frame the content of another site within a page of your own website, I'm puzzled how it gets done the other way (i.e. getting another website to unwittingly frame outside content).
Don't want to do - just want to stop it being done to me.
Thanks
It is probably fairly rare outside of adult and pharmacy industries, but to stop being framed, add a fram busting code to your page, as noted here:
<script language="JavaScript1.1" type="text/JavaScript">if (parent.frames.length
> 0) top.location.replace(document.location);</script>
Just put that script in your header and you're done!
Thanks for the quick reply Aaron.
Sorry if my initial query wasn't clear. I'm aware of framebreaker code as a way to stop MY pages being framed by another site.
However what I don't understand is how spammers are able to dupe government websites into including THEIR spam pages within a frame.
If you frame outside content don't use junky code to do so. Really that is all there is to it. Don't make unique URLs when you frame other content, and don't allow others to insert their URL as a variable that can be included in the overall page URL.
Many sites allow pages to be indexed where third parties can enter variables. Look at how my keyword research tools were getting indexed in Google with Google querying and cross referencing them for various keywords (please note I later blocked Google via robots.txt...so those listings are URL only until they fall out of the index).
In the same way that someone linked to them and got those pages indexed many other poor coding jobs allow people to get their URL indexed under yours.
Nice Dylan reference
Add new comment