diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 4a569bcc..8d65f8f3 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -2,9 +2,14 @@ import classes from "./not-found.module.css"; import { Stack, Text, Title } from "@mantine/core"; -import React from "react"; +import React, { useEffect } from "react"; export default function Home() { + useEffect(() => { + if (document.location.pathname === "/blog/") { + document.location.href = "/blog"; + } + }, []); return ( 404