Skip to content

Instantly share code, notes, and snippets.

@ryandonsullivan
Created March 22, 2023 14:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandonsullivan/d4472e343b3c02fc272e97a4d252078e to your computer and use it in GitHub Desktop.
Save ryandonsullivan/d4472e343b3c02fc272e97a4d252078e to your computer and use it in GitHub Desktop.
Stop web crawlers from spending crawl budget on RSS feeds, without interrupting RSS feed functionality.
# Block Feed and Comments
User-agent: *
Disallow: /feed/
Disallow: /feed/$
Disallow: /comments/feed
Disallow: /trackback/
Disallow: */?author=*
Disallow: */author/*
Disallow: /author*
Disallow: /author/
Disallow: */comments$
Disallow: */feed
Disallow: */feed$
Disallow: */trackback
Disallow: */trackback$
Disallow: /?feed=
Disallow: /wp-comments
Disallow: /wp-feed
Disallow: /wp-trackback
Disallow: */replytocom=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment