diff --git a/engine/editor/inc.editor.php b/engine/editor/inc.editor.php index 4b5f110e5..f92d77d4e 100644 --- a/engine/editor/inc.editor.php +++ b/engine/editor/inc.editor.php @@ -57,8 +57,6 @@ $berta->initContent($urlStr, $sectionName, $tagName); if ($querySectionName && $querySectionName != 'sitemap.xml' && $berta->sectionName != $querySectionName) { - header('HTTP/1.1 301 Moved Permanently'); - header('Location: ' . ($berta->environment == 'engine' ? $ENGINE_ROOT_URL : $SITE_ROOT_URL)); include dirname(__DIR__) . '/error/404.php'; exit; }