Skip to main content
5 of 6
formatting, terminology
Patrick Mevzek
  • 8.5k
  • 1
  • 21
  • 42

How to prevent domain mirroring?

My URL = https://www.kotakanime.net/one-piece-episode-890-subtitle-indonesia/?mirror=3

URL B = manganime.id/cdn/one-piece-episode-890-subtitle-indonesia/?mirror=3

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 again the same as my site (but not immediately, I do not know after how long "URL B" will be refreshed)

And people maintaining "URL B" can change CSS colors, brand/author name text, ads code.

I tried adding this script:

// Blocking 1 
if (parent.frames.length > 0) { parent.location.href = self.document.location } 

// Block 2 
var domain = "manganime.id"; <--- at this they auto change my domain kotakanime.net 

var redirect = "http://google.com"; if( (location.hostname != domain) && (location.hostname != "www."+domain) ) { location.href = redirect; } 

After I checked, I think they always recrawl when I update the post, or after 1 hours maybe?

Johan
  • 155
  • 5