Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:

How to redirect string variations to a specific URL in Joomla?


One of the most common break-in attempts in Joomla is by appending a string onto a URL, which in effect attempts to run some malicious script remotely. This method is known as a command injection attack. In most cases, this takes the form of the following URL in the access logs:



The R57.txt??? part is a .php shell script. The purpose of this attack is to have the PHP shell script executed on your web server, giving the attacker control over various parts of your website.


In order to redirect any requests containing the character string "R57.txt???" to your main page at, you have to open your .htaccess file and add the following lines in it:


# redirect any variations of a specific character string to a specific address

RewriteRule ^R57.txt [R]

Was this article helpful? yes / no
Article details
Article ID: 293
Category: General Joomla FAQ
Date added: 2012-12-11 15:32:23
Views: 21
Rating (Votes): Article rated 3.0/5.0 (6)

« Go back

Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid