Skip to content

Commit

Permalink
Disallow gptbot on HVD pages (#2313)
Browse files Browse the repository at this point in the history
disallow gptbot on HVD pages
  • Loading branch information
RubenSandwich authored Jan 30, 2024
1 parent f6f49bc commit 72949f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 72949f0

Please sign in to comment.