Title: Hacked: index.php keeps changing
Last modified: August 19, 2016

---

# Hacked: index.php keeps changing

 *  [steupz](https://wordpress.org/support/users/steupz/)
 * (@steupz)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hacked-indexphp-keeps-changing/)
 * Hi, I need help.
    My index.php keeps changing. And visitors to my site, including
   myself keep getting a trojan alert from their antivurus software.
 * The trojan is js/obfuscted or something like that.
 * It stems from my index.php from what I can tell and I keep changing it, but I
   want a permanent solution before it becomes worse. How do I change my ftp password
   and would I have to modify the wp.config file to do that and how?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hacked-indexphp-keeps-changing/#post-1005849)
 * > How do I change my ftp password
 * Depends on your host. Check their help files or, if there are none, call ’em 
   up.
 * > would I have to modify the wp.config file
 * Shouldn’t, unless that ID is the same as you use to get into your SQL DB. And,
   if so, just change the password in the wp-config.php file 🙂
 *  Thread Starter [steupz](https://wordpress.org/support/users/steupz/)
 * (@steupz)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hacked-indexphp-keeps-changing/#post-1005850)
 * Thanks… I use GoDaddy and Dreamhost if you know how to do it on that hosting
 *  Thread Starter [steupz](https://wordpress.org/support/users/steupz/)
 * (@steupz)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hacked-indexphp-keeps-changing/#post-1005854)
 * OK, changed GoDaddy’s.
    Hopefully it helps

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hacked: index.php keeps changing’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [steupz](https://wordpress.org/support/users/steupz/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/hacked-indexphp-keeps-changing/#post-1005854)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
