Welcome to WebmasterWorld Guest from 34.239.158.107

Forum Moderators: open

Message Too Old, No Replies

Website Content Frame is showing in other websites.

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

New User

joined:Dec 5, 2015
posts:8
votes: 0


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.
12:44 pm on Feb 3, 2016 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member andy_langton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 27, 2003
posts: 3332
votes: 140


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.
5:56 am on Feb 6, 2016 (gmt 0)

New User

joined:Dec 5, 2015
posts:8
votes: 0


Thank you.

Does doing this will harm our seo work?
10:53 am on Feb 6, 2016 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member andy_langton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 27, 2003
posts: 3332
votes: 140


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").
12:02 am on Feb 15, 2016 (gmt 0)

New User

joined:Feb 14, 2016
posts:18
votes: 0


You can use htaccess:

<ifmodule mod_headers.c>
# Defending against clickjacking
Header always set X-Frame-Options SAMEORIGIN
</ifmodule>
2:15 pm on Feb 17, 2016 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 17, 2010
posts: 113
votes: 3


There is also a JavaScript you can put in the head section of your pages to break out of frames.
9:45 am on Feb 22, 2016 (gmt 0)

New User

joined:Dec 5, 2015
posts:8
votes: 0


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