import { redirect } from "next/navigation"; export default function Home() { // Use a fixed local path, independent of the request URL, Host and query. redirect("/generalsearch"); }