Deny requests from unauthorized domains
-
I’m having a hard time trying to figure out why WordPress is allowing this site’s request to come in when I specifically blocked it on my .htaccess file:
RewriteCond %{SERVER_NAME} ^(www\.)?moonlightbeachclub\.com$ RewriteRule ^ - [F]
This used to work when my site was hand-coded. But then I decided it was too hard to mantain because I was busy on my other jobs, so I decided to make a simple WordPress blog which will be easier to mantain.
This rule is no longer working.
The problem is that the site https://moonlightbeachclub.com is trying to pass as if they were my site: https://hsoto.me
GoDaddy has been contacted about this issue, and they told me to go to this stackoverflow thread to solve it, as they couldn’t do anything else to help me:
https://stackoverflow.com/questions/13872892/htaccess-deny-requests-from-unauthorized-domains
I went there and that’s where I got my code which was working until I installed WordPress. Is there something different I can do? Please help me.
- The topic ‘Deny requests from unauthorized domains’ is closed to new replies.