I have found three different sites through Google that are exact duplicates of mine. I checked the ip of all of them and it seems they are all pointing to my site's ip address. I was told that I can use an htaccess file to prevent this but I'm not quite sure how to write it. Help?
Code: Select all
RewriteEngine On
RewriteCond %{SERVER_NAME} !example.com [NC]
RewriteRule ^(.*)$ http://example.com/goaway.html [R,L]
Put a little content into a file named "goaway.html" shooing folks off, and you're good to go.
This doesn't actually stop them from pointing at your domain, but it scuttles whatever utility they were getting out of it.