My webpage redirecting to other website for some visitors... Help Please

by 11 replies
13
Hey guys,

I'm having a huge problem with a webpage of mine. When I go there I am taken to the proper destination. But when others go to that same page they are redirected to Adult Friend Finder.

At first I thought it was on their end but I have had several people contact me about it so unless EVERYONE visits Adult Friend finder I think I have a malicious redirect somewhere on my page but I cannot find it.

Web Page in question: Affiliate Progressive Jackpot

If someone could help me with this I would be forever grateful...

-Mike Hill
#programming #redirecting #visitors #webpage #website
  • This is who hacked you I guess: infernox dot com

    What kind of site is it? Wordpress? Other CMS? Something you coded yourself?
    • [1] reply
    • Did a little digging...

      You can email him here: webmaster at Infernox dot com

  • Look at your file or index.php if this is a CMS.

    This type of attack is often done by injecting code into these files. You will see code that looks like gibberish. This is obfuscated PHP code. Often the code traps referrer URLs or other data so that site owners or people visiting directly do not get redirected.

    If you don't find code injections in these files, look for Javascript includes on the pages.

    Also, check your .htaccess file to see if there are any suspect rewrite rules in there.
    • [2] replies
    • For me it's redirecting to capitaloption.com
    • If OP has a WP site I would have been freaked if this was the answer, glad it was just his host.

      I have never heard of a WP site having anything injected like that before.
  • Went to the correct page for me using Android browser

    UPDATE:
    14 hours later I still get the correct site on laptop with firefox browser.
  • I tested on my desktop (chrome) and android phone, there is no redirection...
    maybe it's geo-targeted...
  • Hey guys it was my webhost provider that was compromised. They have since moved me to another server but what's more troubling is they knew about it but never contacted anyone on that server.

    This has prompted me to change webhosts next week. What BS
    • [1] reply
    • Without knowing exactly what the exploit was, it's difficult to lay the blame, the hackers could have exploited a vulnerability on your site to get to the server. You need to scan everything, preferably using more than one tool.
  • Hi Mike.

    Do you have any details on the issue from your webhost now?

    Despite of the transfer to the new server or to the new webhost I would strongly recommend to:
    1. Change all the passwords: database, account, e-mail, etc.
    2. Scan the files for malicious code.
    3. Upgrade your scripts to the latest stable versions.
  • you should check your .htaccess file. May be the redirection code will be there.

Next Topics on Trending Feed