My website built in WordPress needs to work with an outside vendor that provides what they call a "Replicated" website.
Basically what this does is allow sales reps to get credit for sales made from the website if a user is on their 'replicated site'.
These replicated sites are sub-domains of the main WP site.
What happens is that when you are in "www.website.com" you are technically in the 'corporate site'. When you place a subdomain address in front like "sally.website.com" you are in Sally's replicated site.
I have the following question: Once you are in Sally's replicated site at "sally.website.com" I want you to say in the 'sally' subdomain no matter where you click on the site. All hyperlinks must redirect to the 'sally.website.com' subdomain.
What I have done with most links in the site is to set them as "/about-us/" or "/contact/" and that works quite well as the link will pick up either the "www" or the "sally" subdomain whichever it is in. But, I am unable to do this action on many embedded links.
Is there a way via mod_rewrite in the .htaccess file to fulfill this rule? Or is there another way to accomplish what I need to do?
Please help! I just don't know enough about this stuff to know what to do.