Making front end editors work with multiple sites