From b64db27b0911e54b910f52a0777f49c8260a0331 Mon Sep 17 00:00:00 2001 From: manager Date: Wed, 18 Nov 2026 23:33:29 +0000 Subject: [PATCH 1/2] Limit profile search exclusions to profile routes --- src/components/SeoGenerator/SeoGenerator.tsx | 5 +++-- src/uxcore/components/SeoGenerator/SeoGenerator.tsx | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/SeoGenerator/SeoGenerator.tsx b/src/components/SeoGenerator/SeoGenerator.tsx index be3801c7..a1d76960 100644 --- a/src/components/SeoGenerator/SeoGenerator.tsx +++ b/src/components/SeoGenerator/SeoGenerator.tsx @@ -61,6 +61,7 @@ const SeoGenerator: FC = ({ preloadImages, }) => { const router = useRouter(); + const isUserProfile = router.pathname.startsWith('/user/'); if (forceNoIndex && canonicalOverride) { return ( @@ -114,7 +115,7 @@ const SeoGenerator: FC = ({ = ({ ))} - {pathname.includes('/user') ? ( + {isUserProfile ? ( ) : ( = ({ !pathname.includes('/uxcgdiy') && !pathname.includes('/uxcgstory'); const isUXCPPage = pathname.includes('/uxcp'); - const isUserProfile = pathname.includes('/user'); + const isUserProfile = router.pathname.startsWith('/user/'); const isUXCatPage = pathname.includes('/uxcat'); let favIconPath = '/assets/favicon.svg'; @@ -108,7 +108,7 @@ const SeoGenerator: FC = ({ = ({ /> - {pathname.includes('/user') ? ( + {isUserProfile ? ( ) : ( Date: Wed, 18 Nov 2026 23:35:53 +0000 Subject: [PATCH 2/2] Apply profile indexing policy to certificate responses --- src/pages/user/[userId]/certificate.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/user/[userId]/certificate.tsx b/src/pages/user/[userId]/certificate.tsx index ede7b73e..9c0ab921 100644 --- a/src/pages/user/[userId]/certificate.tsx +++ b/src/pages/user/[userId]/certificate.tsx @@ -47,6 +47,7 @@ const Certificate = ({ userId, certificate }) => { export default Certificate; export async function getServerSideProps(context) { + context.res.setHeader('X-Robots-Tag', 'noindex, nofollow'); const userId = context.params.userId; const certificate = await getCertificate(userId); if (!certificate) context.res.statusCode = 404;