Prevent website content theft – a simple method

Having written some amazing content, you would be disappointed to find that someone has copied it. No tools can people from copying or scraping your articles and cleaning your hardwood as their own.

Well how do you prevent content theft?

How to protect your content from being copied? – a simple tip

Use hidden comments that are unique to your site to identify stolen content. Use HTML comments and/or style your text to be visually tiny and invisible to your visitors.

Embed hidden HTML comments and text set to 1px size and white colour
Article has embedded HTML comment that is not visible to users as well as text that is just 1px high and white to be visually hidden.

A recent comment by VK on one of my posts encouraged me to share this tip.

copyright violation comment by vk - Prevent website content theft - a simple method

Create a reusable block with unique comments

In WordPress create a reusable HTML block with some comments. This saves you time when embedding the comments.

Go to /wp-admin/edit.php?post_type=wp_block to create your reusable block.

create resuable block with unique comments - Prevent website content theft - a simple method

Note: You can also create your block in a post and click Add to reusable blocks.

image 5 - Prevent website content theft - a simple method

Here is sample code for you to paste into your Custom HTML block

<font size="1" color="white"><small style="font-size:1px;">***This post first appeared on***</small></font>
<!-- ***This post first appeared on*** -->

Embed hidden comments on your page/post

Either use your HTML skills or use the newly created reusable block to embed unique hidden comment.

Simply click on + Toggle Block Inserter, select Reusable tab and select your hidden content block.

image 6 - Prevent website content theft - a simple method

The block is added to the post at the specified location.

add HTML comment - using resuable block

What are other methods to prevent content theft?

Other methods to prevent content theft include:

  • display a © copyright notice on all your pages/posts
  • watermark your images with your logo
  • disable right-click using WordPress plugins
  • check for plagiarism –
  • use verified DMCA protection – to protect, detect and takedown copied content.
  • configure your RSS feed to only show post excerpt. In WordPress go to Settings > Reading and set For each post in feed, include to Excerpt. This would prevent content scrapers from copying your articles.
WordPress Settings screen showing the syndication feed option to show Excerpt vs Full text.

How to detect unauthorised duplicates of your content?

You can check for plagiarism using paid tools like, and more (

A simple free method to locate duplicate content is to look for unique hidden comments you have added to your site on Google. Use the to search for keywords everywhere except yours site.

Google site search for plagiarised content - Prevent website content theft - a simple method

Here is some sample code you can copy paste to test and use.

-site: "***This post first appeared on***"

In conclusion, we can protect our content to some level using some of the methods mentioned here. Even if we cannot fully prevent content from websites from being stolen, we can reclaim our content by taking down fraudulent websites that have stolen our content by using services like DMCA.

Leave a comment


Get in touch

VJ Design - Web Design Melbourne
Affordable and creative web solutions from Melbourne, AU. I build robust fast-loading WordPress sites for a fraction of the price. Call VJ on +61389867186
Address :
106 Alamanda Blvd,
Point Cook,
VIC - 3030
Tel : +61389867186
Email :


Image of