|
@@ -1475,6 +1475,9 @@ class SiteController extends ActionController
|
|
|
} catch (\RuntimeException $e) {} // silent the error until this https://assistance.opentalent.fr/browse/V8-3344
|
|
} catch (\RuntimeException $e) {} // silent the error until this https://assistance.opentalent.fr/browse/V8-3344
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // Redirect the www.xyz to xyz
|
|
|
|
|
+ $this->addRedirection('www.' . $newDomain, $newDomain);
|
|
|
|
|
+
|
|
|
$this->otCacheManager->clearSiteCache($rootUid, true);
|
|
$this->otCacheManager->clearSiteCache($rootUid, true);
|
|
|
return $rootUid;
|
|
return $rootUid;
|
|
|
}
|
|
}
|