My URL = mysiteurl/example-post
URL B = mirroringsiteurl/example-post
All HTML code at "URL B" is the same as the one at my URL, and when I change anything at my site, "URL B" will be refreshed to be identical to my site.
The only difference is that the mirrored site has different CSS colors and branding.
I was advised to look at a JavaScript solution that checks document.location.href and if it's not my site, redirects it somewhere else.
Would something like this help?
// Blocking 1
if (parent.frames.length > 0) { parent.location.href = self.document.location }
// Block 2
var domain = "mysiteurl"; <--- at this they auto change my domain to their domain
var redirect = "http://google.com"; if( (location.hostname != domain) && (location.hostname != "www."+domain) ) { location.href = redirect; }