How to fix hacked WordPress site?

Discussion in 'WordPress' started by jhashan, Apr 14, 2014.

  1. #1
    Hi, my WordPress site was hacked, home page working fine but if anyone click on other page or post visitor redirecting to other site. I changed all WordPress files (upgraded to latest version), upgraded plugins, only theme files remain same, changed FTP and cPanel password. after doing all my site work fine 2 days but today I see post and page redirecting again.

    Please help me.
     
    jhashan, Apr 14, 2014 IP
  2. dedideals

    dedideals Member

    Messages:
    168
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    48
    #2
    Have you checked the posts themselves?

    And it most likely is in the theme files, can you re-upload a fresh copy?
     
    dedideals, Apr 14, 2014 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,799
    Likes Received:
    4,533
    Best Answers:
    123
    Trophy Points:
    665
    #3
    I'd have said not to worry all those other files and to concentrate on the theme. Change to the default and check it works - then go find a backup or install a new theme - and be careful to pick one that is well coded.
     
    sarahk, Apr 14, 2014 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #4
    Nigel Lew, Apr 14, 2014 IP
  5. Gadstrup Motion

    Gadstrup Motion Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #5
    Otherwise I have used WordFence with succes several times - and checked .htaccess-file (If this file has many lines then it's probably infected and you should look after lines to reset)
     
    Gadstrup Motion, Apr 27, 2014 IP