lucy24 - 5:33 am on Aug 16, 2012 (gmt 0)
Yes, but not by asking mod_rewrite to read your mind.
If there are only a few, do it manually. If there are lots of them, mod_rewrite will only do the first part of the job: rewrite (not redirect) to a php page that looks up "1" and finds "test-page" -- or the other way around -- and then redirects to the page you want. The first step is a Rewrite so you don't come out with two consecutive Redirects. Search engines do not like that.
Or, ahem, since we are already in the php forum-- did you mean, exactly what will your php page look like? Oops. Can't help you there.
I am assuming for the sake of discussion that you know what "rewrite" and "redirect" mean, and you're just saying "become" as a shortcut ;)