Forum Moderators: phranque
The answers will determine the solution, because it's not a simple question.
If you have dynamic URLs linked from your pages, then change the links to static on those pages. You can then use mod_rewrite to detect those static URLs and pass the requests to your script in query-string format.
If you've already done that, and your problem is that search engines won't drop the old dynamic URLs, then the answer is completely different... There are many variations [google.com], depending on the exact nature of the problem.
Jim