diff --git a/Classes/Verdict/Redirect.php b/Classes/Verdict/Redirect.php index fcc2edd..bf97720 100644 --- a/Classes/Verdict/Redirect.php +++ b/Classes/Verdict/Redirect.php @@ -191,7 +191,8 @@ private function redirectToPage(): ?RedirectResponse $page = GeneralUtility::makeInstance(PageRepository::class)->getPageOverlay($page, $targetLanguageId); // Overlay record does not exist - if (!isset($page['_PAGES_OVERLAY_UID'])) { + $redirectEvenInFallbackMode = (bool) ($this->configuration['redirectEvenInFallbackMode'] ?? false); + if (!isset($page['_PAGES_OVERLAY_UID']) && $redirectEvenInFallbackMode === false) { $this->logger->info(sprintf('There is no page overlay for page %d and language %d', $page['uid'], $targetLanguageId)); return null;