diff --git a/php/controller/showArticle-controller.php b/php/controller/showArticle-controller.php index 2e0e4ca..53e7226 100644 --- a/php/controller/showArticle-controller.php +++ b/php/controller/showArticle-controller.php @@ -16,7 +16,7 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){ $tags = $article->getTags(); }else{ echo "Test"; - header("location: index.php?pfad=404"); + header("location: /index.php?pfad=404"); exit(); } } catch (Exception $e){