So we are running multiple sites off of one LiveSite server, siteA and siteB. Each page has an alias defined in the format of siteX/alias. For example we have an alias of siteA/locations in siteA and another alias siteB/products on the siteB site..
To access those sites we use
http://siteA.****.com/somealias and
http://siteB.****.com/somealias.
Those addresses are actually hitting an Apache server that does a rewrite to either
http://localhost:1776/siteA/somealias or
http://localhost:1776/siteB/somealias.
Production works perfectly. What doesn't work is Preview. When links are embedded on the page they are in the format href="/anotheralias". When a production page is hit the link becomes
http://siteA.****.ntrs.com/anotheralias and apache redirects the page as expected. BUT, in preview /anotheralias is not a valid link. I've tried using:
$URL_ALIAS - doesn't appear to do anything useful for me
$PAGE_LINK - doesn't appear to do anything useful for me
$URL_PREFIX - doesn't appear to do anything useful for me
For now, without jumping through a ton of hoops for EACH link, my links won't work in preview mode.
Any in this same boat and/or solved this issue?