Title: Bad Code
Last modified: August 19, 2016

---

# Bad Code

 *  [shimshon9](https://wordpress.org/support/users/shimshon9/)
 * (@shimshon9)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-code/)
 * Hi,
 * I got on the Google Index with my site. Somehow?? a bad code came on my index
   file. (It’s a script). I removed it from all my index files, but in the source
   it is still appearing! What can I do?
 * my site: [http://www.shimshon9.com](http://www.shimshon9.com)

Viewing 1 replies (of 1 total)

 *  Thread Starter [shimshon9](https://wordpress.org/support/users/shimshon9/)
 * (@shimshon9)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-code/#post-806132)
 * Looks like I found the source – it was in the theme index file!
    Any ideas how
   I can prevent this in the future?

Viewing 1 replies (of 1 total)

The topic ‘Bad Code’ is closed to new replies.

## Tags

 * [bad code](https://wordpress.org/support/topic-tag/bad-code/)
 * [maleware](https://wordpress.org/support/topic-tag/maleware/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [shimshon9](https://wordpress.org/support/users/shimshon9/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/bad-code/#post-806132)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
