Hi.
Tell me if it is bug or not.
Here is my piece of code
 $RedirectUrl = $this->pi_getPageLink(1);
 header('Location: '.t3lib_div::makeRedirectUrl($RedirectUrl));
If I enable realurl $this->pi_getPageLink(1);  returns nothing so redirec 
dosn't work.
Bart