Removing malicious content from WordPress posts

Sometimes malware will corrupt the database, inserting malicious script tags.

Here’s the quick removal approach if you have access to your database directly:

<br /> UPDATE wp_posts SET post_content = REPLACE ( post_content, 'BAD SCRIPT TAG', '' );<br />

Avatar
Proactive application of technology to business

My interests include technology, personal knowledge management, social change

Related

Next
Previous