private function replaceAbsoluteLinks($text) { $text = str_replace($this->getReplicatedSiteRealUrl(), $this->site->getUrl($this->user), $text); return $text; }