I have problem when my site is listed on a search engine.
Read this article first.
http://spider-food.net/dynamic-page-optimization.html
I think this could be done in php by writing an error page wich will note display an error mesage. It will read the path and transform it in a query. I think this is a solution. But if you can't make an error page (the host service not allowed this)??
Or any other sugestion.
Kind regards,
and a happy new year
iugin