I did try using the plugin Front End Users but this clashes with something as it prevents access to some front end pages. So I need to manually just set it so that anyone who isn't one of two usernames (or roles) can't access wp-admin.
It's basically just a user capability check, followed by a redirect in an exit call. It then redirects to the site the request came from.
|show 9 more comments|