Skip to content

Scheduling infrastructure for absolutely everyone.

add noindex tags for apps setup pages (#8518)

Richard Poelderl4cc7766f8846
diff --git a/apps/web/pages/apps/[slug]/setup.tsx b/apps/web/pages/apps/[slug]/setup.tsx
index c53b61aea12..ca9b08138b1 100644
--- a/apps/web/pages/apps/[slug]/setup.tsx
+++ b/apps/web/pages/apps/[slug]/setup.tsx
@@ -4,6 +4,7 @@ import { useRouter } from "next/router";
import { AppSetupPage } from "@calcom/app-store/_pages/setup";
import { getStaticProps } from "@calcom/app-store/_pages/setup/_getStaticProps";
+import { HeadSeo } from "@calcom/ui";
import PageWrapper from "@components/PageWrapper";
@@ -25,7 +26,13 @@ export default function SetupInformation(props: InferGetStaticPropsType<typeof g
});
}
- return <AppSetupPage slug={slug} {...props} />;
+ return (
+ <>
+ {/* So that the set up page does not get indexed by search engines */}
+ <HeadSeo nextSeoProps={{ noindex: true, nofollow: true }} title={`${slug} | Cal.com`} description="" />
+ <AppSetupPage slug={slug} {...props} />
+ </>
+ );
}
SetupInformation.PageWrapper = PageWrapper;