Javascripts to redirect the host if it’s not loaded on correct domain?


Javascripts to redirect the host if it’s not loaded on correct domain?

Lets see,

a page loaded on: "http://ift.tt/2w3dPWj"

I want's to redirect it on: "http://ift.tt/1KdAxfR"

How can I accomplish this using JS?

PS: My website is getting scrapped, so even a visitor redirects to other cloned domains, I wants them redirect to the real domain.

Submitted August 13, 2017 at 11:20PM by Dibbyo123
via reddit http://ift.tt/2uAtpZC

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s