title: WordPress blog infected with HTML Refresh meta tag
body: <p>Hello StackOverflow community. I have a very interesting (at my opinion) infection to share with you today.</p>
  
  <p>4-5 days ago I realized that my blog's homepage after some seconds of loading was redirected to another page. Specifically to youtube, at a Justin Bieber video. I thought it was my computer's problem, so I scanned or viruses and malware. But it wasn't my fault.</p>
  
  <p>Finally I was sure that it was not a local problem because Google pagespeed insights had the same result.</p>
  
  <p>So, after many hours of research (and some broken keyboards) I found out those clues. In details:</p>
  
  <p>A meta tag was created inside my header similar to this:</p>
  
  <pre><code>&lt;meta http-equiv="refresh" content="0; url=http://www.youtube.com/watch?v=RFngSCaY5nA"&gt;
  </code></pre>
  
  <p>First, I disabled all my plugins but without result. After a while the problem was still there.
  Second, I searched all my database tables to find out if the URL of the video was included somewhere, but it wasn't.
  Then I searched in my template editor one by one the php files, but nothing.
  .htaccess was also clear (not 100% sure what I was looking for in there, but I think there was nothing suspicious).</p>
  
  <p>After all these, I downloaded via FTP my whole site, and searched inside every file for this URL. I found that it was included to some HTML files of the CACHE folder. I use W3 Total Cache for that purpose. I deleted the whole cache folder, but after a while the problem was still there. </p>
  
  <p>The fun fact here is that this "virus" is not always active. It appears at random time, at different page each time. Also tonight I realized that it appeared on a second computer, the same time that everything looked fine on my computer.</p>
  
  <p>The Youtube Video URL is: http:// www.youtube.com/watch?v=RFngSCaY5nA</p>
  
  <p>So my question is: Does anyone of you have a solution to recommend before deleting the whole installation and start from the beginning? Does anyone else had the same problem wit me in the past?</p>
  
  <p>I think that's all l have to share. I'm sorry for the long post, tried to be as detailed as possible. I'm not good at coding, this is my first attempt to run a WordPress site so, there might be something that I forgot.</p>
  
  <p>Thanks in advance.</p>