[eluser]Stoney[/eluser]
You can route every request to one master controller, where you will query the affiliates, and if you find one, you can redirect('affiliates/'.$query_row->id)...
If there is no affiliates found, you can simply redirect it to the existing controller.
I have made language specific (non existing) controllers this way.