Skip to content

Commit

Permalink
block google bots apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
ademagic committed Jul 18, 2023
1 parent da55a3f commit cee03ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
User-agent: *
Allow: /
User-agent: Googlebot
Disallow: /

User-agent: Googlebot-Image
Disallow: /

User-agent: Mediapartners-Google
Disallow: /

User-agent: Adsbot-Google
Disallow: /
2 changes: 1 addition & 1 deletion src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const fullTitle = `${title} | Miko Ademagic`;
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<meta name="googlebot" content="noindex">

<!-- Primary Meta Tags -->
<title>{fullTitle}</title>
Expand Down

0 comments on commit cee03ba

Please sign in to comment.