Skip to content

A WordPress plugin to reduce the impact of unauthorized clones of your blog.

Notifications You must be signed in to change notification settings

sebauer/wp-anticlone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordPress AntiClone

A WordPress plugin to reduce the impact of unauthorized clones of your blog.

What is this plugin for?

Currenty there is a wave of cloned blogs going around. Popular blogs are being cloned on foreign domains, mostly with another top level domain. The "cloner" than tries to maximize traffic on that illegally cloned page and generate revenue from injected advertisements.

Most of the time the original website will be simply "proxied" by the attacker but automatically filters out all script tags. However it is still possible to execute JS code from event handlers which is exactly what this plugin does. For more information about this, visit these (German) websites:

The problem is: this plugin works for now. There's no perfect way of hiding its functionality from the HTML code so cloners might actually stumble over it and modify their scraper software to remove the code generated by this plugin. It's still worth a try - at least for now.

A Word of Warning

This plugin is experimental! It should work and has been tested on a blog using minification, lazy image loading etc. Howerver it is not guaranteed, that it will work for you as well. Also please note that this plugin DOES NOT avoid your blog being cloned, the content will still be found using search engines like Google, but it will reduce the impact of a cloned blog by redirecting its visitors to your original blog and replacing the cloned content with a warning message!

Setup

Go to your WordPress settings, open the "WordPress AntiClone" menu and configure a list of authorized domains for your blog first. The list is comma-separated and could look like this: "passiondriving.de,passion-driving.de"

You don't need to list your domain with www. The plugin does detect this automatically. If your blog is hosted on a subdomain, you should add this as well.

How it works

Basically this plugin adds an image to the footer of your website. Inside the onload-Event of that image JavaScript code will be executed to check whether the URL in the browser is one of the authorized URLs. If not the website content will be replaced by a warning message and the user will be redirected to the original URL on your blog.

Help! It doesn't work!

If the plugin does not work for you, just let me know and open an issue here on GitHub!

About

A WordPress plugin to reduce the impact of unauthorized clones of your blog.

Resources

Stars

Watchers

Forks

Packages

No packages published