diff --git a/classes/SeoPreview.php b/classes/SeoPreview.php index 77d2bb4..80b6859 100644 --- a/classes/SeoPreview.php +++ b/classes/SeoPreview.php @@ -65,7 +65,10 @@ static function getPreviewTitleStatus($objPage) $rootId = $objPage->trail[0]; $rootPage = self::getRootPage($rootId); $rootTitle = $rootPage->title; - $title .= ' - '.$rootTitle; + + if(!$rootPage->ignoreRootTitle) { + $title .= ' - ' . $rootTitle; + } $maxLength = $GLOBALS['seoPreview']['titleLength']; $titleLength = strlen($title);