Forum Moderators: open

Message Too Old, No Replies

Website Content Frame is showing in other websites.

         

King of Snakes

11:54 am on Feb 3, 2016 (gmt 0)

10+ Year Member



I work in seo field. Recently I was analysing my client website and found some tricky thing that I have never heard about. That is, the entire website content frame of my client website is loading in few other websites. I have checked those websites source code and able to found
“<body>

<div class="fadeMe">
<object type="text/html" data="https://www.example.com" width="100%" height="100%" style="overflow:auto;border:0px ridge blue">
</object>
</div>

</body>”

Interestingly they even add google analytic s tracking code.
I would like to know, what is benefit of doing this? Does this harm our seo work? or anything else
Please share your thoughts.

Andy Langton

12:44 pm on Feb 3, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If you want to prevent this, you can stop browsers from displaying your content with an HTTP header:

X-Frame-Option: SAMEORIGIN


This stops modern browsers from allowing your site to be framed on third party sites.

King of Snakes

5:56 am on Feb 6, 2016 (gmt 0)

10+ Year Member



Thank you.

Does doing this will harm our seo work?

Andy Langton

10:53 am on Feb 6, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Blocking external sites from framing your pages will not harm your SEO. It's also unlikely that others 'scraping' your content in this way has any negative effect. I prefer to be cautious, however, and block them anyway. It also improves security for your visitors (avoiding "cickjacking").

oligalma

12:02 am on Feb 15, 2016 (gmt 0)



You can use htaccess:

<ifmodule mod_headers.c>
# Defending against clickjacking
Header always set X-Frame-Options SAMEORIGIN
</ifmodule>

htmlbasictutor

2:15 pm on Feb 17, 2016 (gmt 0)

10+ Year Member



There is also a JavaScript you can put in the head section of your pages to break out of frames.

King of Snakes

9:45 am on Feb 22, 2016 (gmt 0)

10+ Year Member



Thank you all for all answers, It worked for me!