aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/handlers/page_handler.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/handlers/page_handler.php b/engine/handlers/page_handler.php
index 7b1b95459..491a1b200 100644
--- a/engine/handlers/page_handler.php
+++ b/engine/handlers/page_handler.php
@@ -34,7 +34,6 @@ $url = current_page_url();
$new_url = preg_replace('#/pg/#', '/', $url);
if ($url !== $new_url) {
- die('site');
header("HTTP/1.1 301 Moved Permanently");
header("Location: $new_url");
}