custom dinamically generated (sub)pages

Hi All,

I have a a custom wp page with the following slug: /artist

In that page, I’d like to catch the rest of url to manage it as a normal parameter for the same page.

For example:


where “foo” isn’t a page, but a simple parameter of the “artist” page. I know that mod_rewrite could be a friend of mine, but I don’t know how to do.

To sum up, I’d like to have just ONE page, that takes in input the rest of URL as a parameter.

Any hints, any suggetions?

thanks in advance!