The WordPress Pharma Hack: Why your website is forwarding to a S*x Pill Website

There appears to be a growing number of instances of WordPress sites forwarding to unscrupulous websites that sell Cialis, Viagra, or something similar. Sometimes referred to as the “WordPress pharma hack,” in every instance that I’ve seen, the culprit script can be found in the .htaccess file, and the website was using an outdated version of WordPress (and/or outdated plugins).

This is a crime against humanity. These Title tags are way too long!

Removing the WordPress Pharma Hack

The fix is pretty simply. Open your .htaccess file (it’s best to make a back up copy first) and delete the lines of code that are redirecting your website to enhancment pill website. Then, make sure you update your Wordpess and all of your plugins (once again, it’s best practice to back up your WordPress installation first).

Also, as an added precaution, update your WordPress and MySQL passwords.

If you run into an issue where your PHP version doesn’t support the latest version of WordPress, you’ll have to update this in your hosting account. Some hosting providers will actually require you move to a different hosting plan.

Good Luck!

Leave a Reply

Your email address will not be published. Required fields are marked *