Title: WordPress footer.php virus!
Last modified: August 19, 2016

---

# WordPress footer.php virus!

 *  [aedean](https://wordpress.org/support/users/aedean/)
 * (@aedean)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wordpress-footerphp-virus/)
 * I have a virus in my footer.php and I can’t seem to find the source of it. It
   seems to inject hidden links to spammy websites.
 * I have change the permissions of my footer.php to 444 and removed the links from
   my footer.php but it keeps on rewriting my footer.php to have these hidden spam
   links.
 * Can anyone figure out what the source of this virus and how I can completely 
   remove it.
 * Here is a sample of the code it injects below.

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wordpress-footerphp-virus/#post-1183647)
 * [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)

Viewing 1 replies (of 1 total)

The topic ‘WordPress footer.php virus!’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/wordpress-footerphp-virus/#post-1183647)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
