This has been the bane of my existence for several weeks now.
My WP site got hacked and a TON of Base64 code was installed, probably through an expired plugin. The code redirected visitors to my site to other site. Google flagged the site as distributing malware and I had to spend many hours on the phone with my hosting company to get it all cleared out. I re-uploaded my theme, cleaned the system thoroughly, and had the hosting team run a deep scan of the site and they have deemed it clean. I resubmitted the site to Google and they have now removed the flags from the site and put me back in the index. All seems fine, until I started noticing that any links I post to the site still redirect to other sites.
If you MANUALLY put in the link in your browser, you arrive at my blog just fine, but if you CLICK on the link, like in Google or Facebook, you're redirected. I've checked every php file I can think of but there are just so many of them in WP. I just can't seem to figure out how this is happening.
How can I fix this?