Joomla website keeps getting hacked? Do this.

There has been a rash of brute force login attacks on not only WordPress blogs and websites as discussed in the previous post, but also Joomla websites.  Of course we would say a great solution would be to switch to UltimateWB software, and fast!  But, if you are determined to keep your website on Joomla for now, there is one thing you can do after you clean up all the files and reupload a fresh copy of the CMS – restrict the ips that can login to your Joomla website admin panel.

Here’s how to do it:

Add these lines to your existing Joomla admin directory.htaccess file, or create a .htaccess file if you don’t have one yet.  This example limits ips to Joomla’s admin section.   The file “index.php” can be modified to any file that may be at risk of being targeted for brute force attacks.

Joomla Admin .htaccess Location: /joomla-directory/administrator/.htaccess file:

examples:
/joomla/administrator
/httpdocs/administrator (root directory installations)

Lines to add:

<FilesMatch index.php>
Order Allow,Deny
Allow from 123.123.123.123  (replace with YOUR IP)
#Allow from 123.123.123.121 additional lines can be added from multiple IP access
#Deny from all
</FilesMatch>

This should protect your Joomla admin section and only allow specified IP(s) access.  You can also duplicate this code and modify it to protect other files on your account.

Easy!  Contact us if you have any questions, or post a comment here.

**Make sure you have removed any “backdoors” on your Joomla website, inserted by the hacking.  Follow the similar instructions provide here for WordPress websites/blogs: WordPress website hacked? How to fix it…!

Related Posts:

What are the Drawbacks of Using an Open Source Website Builder?

Open Source vs. UltimateWB: Making the Right Choice for Your Website Builder

Are you ready to design & build your own website? Learn more about UltimateWB! We also offer web design packages if you would like your website designed and built for you.

This entry was posted in Website Security and tagged , , , , . Bookmark the permalink.

Leave a Reply

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