From 72949f00d51009dcd553624fe38ac78d40c75a8c Mon Sep 17 00:00:00 2001 From: Ruben Nic Date: Tue, 30 Jan 2024 14:10:12 -0500 Subject: [PATCH] Disallow gptbot on HVD pages (#2313) disallow gptbot on HVD pages --- next-sitemap.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/next-sitemap.config.js b/next-sitemap.config.js index de1dec6342..41358d3c48 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -15,6 +15,10 @@ module.exports = { // sitemap generated from ./pages/server-sitemap.xml/index.tsx `${siteUrl}/server-sitemap.xml`, ], + policies: [ + { userAgent: 'GPTBot', disallow: '/validated-designs' }, + { userAgent: '*', allow: '/' }, // default policy + ], }, /* * Exhaustive exclude list to remove duplicate sitemap paths.