Hey all, my site http://www.easyonlinemoneymaking.com got hacked, and now it is redirecting to some fake security software website. I realized this after checking the traffic logs for my site and seeing I went from 100+ UV's a day to 1-2 for the past 3 days. I don't use any databases for it, and I don't see any meta redirects and my domain isn't set to redirect anywhere else. I don't see how this is happening or how to fix it, any help would be very much appreciated. Edit: The issue was they got to my .htaccess and re-wrote it so that it would redirect if any traffic came from search engines. Anyone know how to prevent this from happening in the future?
Small hacks like this are usually the result of an unsecured server or software on a shared host. I'd check with your provider and make sure they are aware of the issue so they can look into it and plug the holes.
somebody may have found a vuln in another site hosted on that server and may have either rooted the server, or the server is unsecure and they may have shell access to all directories. Maybe try switching hosts or getting a dedicated server or vps. Make sure everything on your site/server is not exploitable and up-to-date (services). You may have been exploited through a script in /cgi-sys/ in which is getting very popular now. Other then this, maybe somebody social engineered (pursway) an administrator or user of the server in which giving them access to your files.