Select Page

One of the best invention in the Computer World is “Copy Paste”. Ever imagine what it would be like without this wonderful feature? However, the ease of Copy Paste is a pain for many website content owners. Many are annoyed that their contents can easily be copy pasted into other sites without their knowledge and consent.

In an effort to protect their content from Copy Paste thieves, some website owners have implemented methods and scripts that prevents visitors from easily copying their content. The most frequently used method is probably to disable the mouse right click on their website. Does the following look familiar?

Disable Right Click Content Proetection

Yes, that is how a common right click protection script looks like. The script will also prevent visitors from performing a selection on the web content. This method will definitely prevent the casual copy paste visitors from stealing your content. However, there is a workaround (there will always be a workaround) that will still enable visitors to copy the content. It just requires an extra click or two if you know how. Hint: Source.

In my opinion, instead of thinking of ways to stop visitor from copy pasting your content, think of how to get backlinks to WordPress from these copy paste thieves. One way to deal with copy paste visitors is by inserting your website url within your content. This way, you get backlinks automatically from them whenever they use your content. That is if they use your entire content in their website.

Some just copy paste excerpts from your website. In cases like this, you can use a script that automatically inserts your website URL into the copied text whenever a visitor uses Copy Paste from your website.

One way of achieving this is by implementing a script from into your WordPress website. The following image shows how the script works when installed into the header section of your website. There are a number of tynt WordPress plugins available in the WordPress plugin directory. I however use the Header and Footer plugin to insert the script into my sites.

A Simple Script To Get Backlinks To WordPress

If you are of the type that likes to code stuff into your WordPress site, you can achieve similar results by adding the following script into your WordPress’ functions.php file:
function add_copyright_text() {
if (is_single()) { ?>

<script type=’text/javascript’>
function addLink() {
if (
document.getElementsByClassName(‘entry-content’)[0], true)) {
var body_element = document.getElementsByTagName(‘body’)[0];
var selection;
selection = window.getSelection();
var oldselection = selection
var pagelink = "<br /><br /> Read more: <?php the_title(); ?> <a href='<?php echo get_permalink(get_the_ID()); ?>’><?php echo get_permalink(get_the_ID()); ?></a>"; //Change this if you like
var copy_text = selection + pagelink;
var new_div = document.createElement(‘div’);’-99999px’;’absolute’;

body_element.appendChild(new_div );
new_div.innerHTML = copy_text ;
selection.selectAllChildren(new_div );
window.setTimeout(function() {
body_element.removeChild(new_div );

document.oncopy = addLink;


add_action( ‘wp_head’, ‘add_copyright_text’);

Try it out yourself in here. Select a paragraph in this post and copy it. Then paste it into notepad. Notice that there is now an additional paragraph of text containing a link back to this website included.

WordPress is a Content Management System that can be used to create all sorts of websites. Many just think of it as a blogging platform. Find out what WordPress can really do for your website in WordPress Tutorial Videos.