Hacked Site - How to fix

Fixing a hacked site has become easier with a tool we highly recommend every wordpress site should have called wordfence security. its free and can and should be installed via plugins in your wordpress dashboard.

Install it via plugins
then add the following code into a .htaccess file in your www or public_html folder:

# BEGIN litespeed noabort

<IfModule rewrite_module>

        RewriteEngine On

        RewriteRule .* - [E=noabort:1]

</IfModule>

# END litespeed noabort

Once done log back into your Wordpress Dashboard and run a full wordfence scan. If it finds anything you can choose to restore the original which should resolve the issue.

Basically select Select Bulk Repair files and Repair them.

For those that cannot be repaired check that the files are not criticial ones and do a Bulk Delete if necessary.

Note: Always make backup of your files before making changes. Recommended.

Lastly open up PHPmyAdmin and check your wp_users table and check if there is any user called Service. Delete this user. At times some users are created as a backdoor for Hackers aswell.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I reset my WordPress Password?

WordPress Password Reset from the Admin Page Enter your domain name/wp-admin E.G >>...

How to Create a WordPress Post

WordPress gives you flexible options to post write-ups for visitors to read and comment. To...

How to Install WordPress Plugins

WordPress plugins can be installed from your WordPress Dashboard under Plugins -> Add New.

What is WordPress

WordPress is a free open source content management system. WordPress provides everything you need...

Powered by WHMCompleteSolution