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.