I figured it out after scouring through all the posts on this. Apparently you have to comment this line out, like this:
// if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
I have no idea what this is all about, but at least it works now.