How do I redirect back to main site on checkout.

Sorry to ask but I have been searching the forums all night.

Please can someone tell me what I need to do to redirect shoppers back to my main sites combined global basket when they click checkout or basket from any of the networks sites.

At the moment, I just seem to be taken to the checkout for the store I am on at the time I click.