diff --git a/src/Plugin/PathSlugStrategyPlugin.php b/src/Plugin/PathSlugStrategyPlugin.php index 0ae4114..9b1c2ab 100644 --- a/src/Plugin/PathSlugStrategyPlugin.php +++ b/src/Plugin/PathSlugStrategyPlugin.php @@ -196,6 +196,11 @@ public function afterGetCategoryFilterSelectUrl( */ public function afterGetOriginalUrl(PathSlugStrategy $original, string $result, MagentoHttpRequest $request): string { - return $result; + $landingPage = $this->landingPageContext->getLandingPage(); + if ($landingPage === null) { + return $result; + } + + return $this->urlFactory->create()->addBaseUrl($landingPage->getUrlPath()); } }