View Single Post

  Post #5 (permalink)   06-15-2017, 12:02 AM
HD Newbie
Join Date: Jun 2017
Posts: 3

Status: ravimittal99 is offline
Originally Posted by ughosting View Post
They could be using Apache or nginx to proxy your site, but this would be easily overcome with a .htaccess entry

RewriteCond %{HTTP_HOST} !^www\.quackquack\.in [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/?(.*)$1 [L,R,NE]

See whether this works, if it does enjoy the free traffic you get for a while.

If they are rewriting all of the links stopping the from working then.

create a file like zxcvb.html and visit "their" sites and call this URL, then visit your weblogs and find their ip and the public won't find this file.

the stick something like

Order Deny,Allow
Deny from
Deny from

In your .htaccess file to block their IPs
(I'm assuming here that you are not a host, if you are, block the IPs in the firewall instead)

That's where I would start.
Hey! We're using Nginx and hence dont have a .htaccess file. We tried blocking an individual IP last time but thats not a permanent solution as days later, two more such domains cropped up! And this issue is that these domains could later be an issue for our SEO, so not keen on free traffic