1

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

1

2 Answers 2

1

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/
1

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:

<head>
  <title>...</title>
  <base target="_top">
  ...
</head>

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 that you have read and understand our privacy policy and code of conduct.

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