Title: Website Forced Redirects
Last modified: August 19, 2016

---

# Website Forced Redirects

 *  [lyth](https://wordpress.org/support/users/lyth/)
 * (@lyth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/website-forced-redirects/)
 * Hi,
 * I have already fixed this issue but thought it might be important to post incase
   anyone else runs into this. After fixing some posts on my website and having 
   my friend look at them he told me they we’re redirecting to various ad farm sites.
   So after many hours. And not finding anything on my pc or his, but after a few
   attempts at loading my site it trys to give you a js.wonka trojan. So after deleting
   cookies, re-installing core wp, and combing the net for answers I finally ran
   into this thread [http://en.forums.wordpress.com/topic/possible-hijacked-pages](http://en.forums.wordpress.com/topic/possible-hijacked-pages)
   where someone else had the same issue. After I replaced the header.php in my /
   wp-content/themes/swift/header.php it worked just fine and no longer seems to
   have the issue. I am not using the default theme so it appears to be just writing
   to the ‘active’ themes header file. This all actually happened right after i 
   updated one of the plug-ins called Global Translator but I am unsure if it was
   specifically from that plug in. I don’t have it anymore because i deleted it 
   so hard to tell.
 * Well, I hope this is of help to anyone that runs across the same issue.

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

 *  [1nichi1kai](https://wordpress.org/support/users/1nichi1kai/)
 * (@1nichi1kai)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372385)
 * You just saved me hours! Thanks. I had not updated my blog to the latest version.
   I’m hoping that was what allowed whoever it was to be able to do this.
 *  [kedda-keough](https://wordpress.org/support/users/kedda-keough/)
 * (@kedda-keough)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372390)
 * Wow! I was having the same problem with that darn js.wonka trojan. I’m so glad
   I came across your posts, because I cleared away the trojan the same way. I went
   to my original theme files and put in the original header.php file, and the trojan
   disappeared!
 * Thanks a bunch!
 *  [jerryrg](https://wordpress.org/support/users/jerryrg/)
 * (@jerryrg)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372440)
 * Another victim of js.wonka. Fixed the same way. Also hoping that upgrae to 2.9.2
   will prevent this hack from coming back.
    Thanks
 *  [tonypuck](https://wordpress.org/support/users/tonypuck/)
 * (@tonypuck)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372478)
 * Don’t want to sound like a doh doh head here but where do you find the code to
   change the php link. I reverted to the default theme changed the code on the 
   header but I’m sure that’s not right because Im still getting a redirect. Take
   a look at what happens [HERE](http://www.guerillamarketingconsultingtt.com)
 * The alternative is to take the blog down and restart a new one. That is not a
   very attractive option.
 * Thanks to anyone who can respond.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372479)
 * [http://wordpress.org/support/topic/hacked-redirect-to-unknown-wp-site?replies=3](http://wordpress.org/support/topic/hacked-redirect-to-unknown-wp-site?replies=3)

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

The topic ‘Website Forced Redirects’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 6 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/website-forced-redirects/#post-1372479)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
