We're revamping a site that has a url structure of http://mysite.com/partner_name. When that first segment matches a partner name, their current custom site changes all urls and logo.
In our case on EE we're using freebie and switchee. We add each partner name (they're not too many) as freebie segments, and add them to a comparison case with switchee. That works great for the first page, but all links are still mysite.com/my_url, when ideally they'd be mysite.com/partner_name/my_url.
Is there any way we can do the comparison with switchee, and save mysite.com/freebie_1 as {site_url} when there's a match? Do we need php on the template?
Thanks in advance!
Best,
Santiago