Routes

Hi, I have a listings website and i want to be able to offer the
functionality of the site to partners under their branding. So basically
have a signup page taking a logo and name etc and some location details.
Then what I want to happen is to allow these partners to access their
partner section via a url like

I have 2 publically accessable controllers, user and search. I would
like the urls for these to look somthing like

But I don’t know where to start.
Will i have to re-write all my redirect_to’s and link_to’s ?
How do i set up my routes file to allow for these new urls but also stil
handle the old Custom Application Development Software for Business - Salesforce.com style of frog.

Like i said i’m stumped, so any and all help would be very much
appreciated.
thanks
regards
c