summaryrefslogtreecommitdiff
path: root/family.php
diff options
context:
space:
mode:
Diffstat (limited to 'family.php')
-rw-r--r--family.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/family.php b/family.php
index d888b86ffa..7fda942ea9 100644
--- a/family.php
+++ b/family.php
@@ -19,4 +19,5 @@ declare(strict_types=1);
$_GET['xref'] = $_GET['famid'] ?? '';
$_GET['route'] = 'family';
-require __DIR__ . '/index.php';
+header('HTTP/1.1 301 Moved Permanently');
+header('Location: index.php?' . http_build_query($_GET, '', '&', PHP_QUERY_RFC3986));