Thanks MG, I found an other way.
I create this file that modify all files I want to redirect to.
$path = "./";
$dir_handle = @opendir($path) or die("Can't open $path");
while ($file = readdir($dir_handle))
if($file[0]!=".")
{
$fp = fopen($file, "w");
if(!$fp)
die ("Error");
fwrite($fp, '<? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.pugliabaila.it/discografie/" . strtolower(substr($_SERVER[\'PHP_SELF\'], 13, -4)) . "/artista.php" ); ?> ');
$fp = fclose($fp);
}
closedir($dir_handle);