Skip to content

Commit

Permalink
lax robots
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Jan 27, 2025
1 parent d97b572 commit 1e32182
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/routes/robots[.]txt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ export const loader: LoaderFunction = async ({ request }) => {
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Allow: /
Crawl-delay: 10
# Marketing & Analytics Bots
User-agent: AdsBot-Google
User-agent: AdsBot-Google-Mobile
User-agent: Mediapartners-Google
User-agent: LinkedInBot
User-agent: facebookexternalhit
User-agent: Twitterbot
Allow: /
# Security exclusions
Disallow: /admin/
Expand All @@ -25,27 +15,6 @@ Disallow: /banking-applications/
Disallow: /applications/
Disallow: /staging/
# Query parameters
Disallow: /*?*
Allow: /*?utm_* # Google Analytics UTM parameters
Allow: /*?fbclid* # Facebook click identifier
Allow: /*?li_* # LinkedIn tracking parameters
Allow: /*?twclid* # Twitter click identifier
# Block specific file types
Disallow: /*.json$
Disallow: /*.xml$
# Media files
User-agent: Googlebot-Image
Allow: /images/
Allow: /assets/images/
Allow: /*.jpg$
Allow: /*.jpeg$
Allow: /*.gif$
Allow: /*.png$
Allow: /*.webp$
Sitemap: ${origin}/sitemap.xml
`;

Expand Down

0 comments on commit 1e32182

Please sign in to comment.