I have Joomla website which was hacked and the problem was code created in .htaccess file to redirect to some xxxx.ru website. After cleaning all .htaccess file inside the Joomla website, after every few minutes it was injected by same hack .htaccess code. Due to this hack code, if any user search and find my website in google, they will be redirected to some xxxx.ru website. Because of this redirection we started to get bad credit from google and visitors to our website have been decreased in few days.
They might have written some hidden code somewhere inside your website. In our case we found the back door script in /images/stories/story.php, /images/stories/.cache_apn5xp.php, /images/banners/.cache_xyz.php
We have deleted these three files and cleaned all folder .htaccess files. Finally our problem of continuous .htaccess hack was solved.
To avoid this kind of problem or malware script ingestion in future.
- Change the control panel, ftp password and delete unnecessary ftp accounts from control panel
- Update to latest Joomla version, extensions, plugins and components.
- Delete unnecessary or unused extensions, plugins and components.