function redirect_status($status, $location) { if ($this->cache_redirects) { $this->redirect_status = $status; $this->redirect_location = $location; } return $status; }