How to implement very unusual wordpress routing structure?

How to implement very unusual wordpress routing structure?