Skip to content

Commit

Permalink
Updated robots.txt to exclude ChatGPT
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexzanDev committed Sep 3, 2023
1 parent 51264c6 commit b85bb2d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
User-agent: *
Allow: *

# This rule blocks AI related and useless bots.
User-agent: ChatGPT-User
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: PetalBot
Disallow: /
User-agent: GPTBot
Disallow: /

Sitemap: {{ .Site.BaseURL }}sitemap.xml
5 changes: 5 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
User-agent: *
Allow: *

# This rule blocks AI related and useless bots.
User-agent: ChatGPT-User
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: PetalBot
Disallow: /
User-agent: GPTBot
Disallow: /

Sitemap: https://alexzan.me/sitemap.xml

0 comments on commit b85bb2d

Please sign in to comment.