There are few websites which are loading our entire website in iFrame and generating lots of spammy links to our website from their domain. Check this link which has linked our pages and loaded our website on their domain through iFrame.

We have tried disavowing it multiple times but it still appears as Top linking sites in our google webmasters. Also, reached to owner of website but got no response.

What can we do to:

  1. Stop this domain to load our content in iFrame - I am trying this frame killer script solution. Is this fine?
  2. Remove this as top linking sites - Tried to disavow multiple times but it's still top linking.
  3. Ensure we do not get any SEO penalty for this - How can we ensure this?

Webmasters snaphot - Top linking Website


2 Answers 2


Use X-Frame-Options headers in your server configuraion file (example .htaccess on Apache):

X-Frame-Options: DENY
X-Frame-Options: SAMEORIGIN
X-Frame-Options: ALLOW-FROM https://example.com/

The simplest solution I can think of is to add a base tag in your page <head></head>. It's stright up HMTL, but it will work and the pages framing you cannot edit it out and still link to your page. Basically it works like this:

  <base target="_top">

There are an assortment of values that can be used, however, _top will force the page to load as you intended, without being trapped inside someone else's frame/iframe. _blank is another option as it will open a new tab/window, also preventing the page from loading in their iframes.

It's been around for years, is widely supported, and it works.
HTML target Attribute

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.