How To Prevent Content Theft

Content theft is a big problem on the Web.

Fortunately there’s an easy and effective way you can prevent people stealing your content.

How To Prevent Content Theft

Content theft is an ongoing issue for website owners.  There’s the simple copy and paste method by which people can steal your content.

But there’s another content theft technique which is also on the increase.

Namely sites using the URL of the article to have it display on their own site within an html frame.

The following code will prevent any of your site content being displayed within someone else’s website frame.

Insert the following code between the <head> and </head> marks of your post’s html file.

<script type=”text/javascript”><script type=”text/javascript”>if (parent.frames.length) top.location.href= document.location;</script>

If you’re using WordPress, then you can enter the above code into your header.php file.

Within your WordPress admin, go to Appearance -> Editor -> header.php

Paste the code into your header.php code.

Then save and check your site through the other site’s frame.

This code should remove the frame and reload your page without the other site’s frame around it.

That way you stand a better chance of preventing copyright infringement and theft of your website content.

 

No comments yet.

Leave a Reply

To continue using this site, you must agree to the use of cookies and to the terms and conditions of our privacy policy. more information

Cookie settings on this website are set to "allow cookies" to give you the best browsing experience. By using this website without changing your cookie settings or by clicking on "No Problem" below, you agree to these settings as well as to the terms of use for this website. Usage of this site is conditional on your acceptance of our Privacy Policy. For more information click on the Privacy Page.

Close