The following appears to work. I say "appears" because I don't speak a word of Polish (other than paczki), and the special characters are not converted properly on my PDA. I'm not sure what you'll end up with!
You need three rewrite rules. Each is a Regular Expression, set to filter all links and rewrite them.
The first pattern is:
.*/news/(.*),1\.html
The second is:
.*/post/(.*),1\.html
And the third is:
.*di24\.pl/(.*),1\.html
Notice that each pattern begins with a dot character.
Each of the rules uses the same rewrite pattern:
http://di.com.pl/n/tools/drukuj.php?lp=$1
Let me know how that works!
|