[snip]Can you place the following code just before the header() line, and post what it prints? die($this->CMS_base_path); In other words, tell us what the $this->CMS_base_path field contains when that line is executed.[/snip] It contains 'https://cms.mydomain.com', which is what it is supposed to contain. It's redirecting to the correct domain, just the incorrect page. Thanks, Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php