Last active
February 2, 2025 16:39
-
-
Save askwpgirl/04ab9c504586f6680174d8f228b7c8df to your computer and use it in GitHub Desktop.
Robots.txt for The Events Calendar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Events Calendar can drive up huge amoounts of CPU by generating tons of worthless URLs that bots try to call. | |
Following is a robots.txt file that can combat these excessive server hits from Google and Facebook bots. | |
Note, this also blocks The Events Calendar Categories which you may or may not want to do. | |
User-agent: * | |
Crawl-delay: 3 | |
Disallow: /wp-login.php | |
Disallow: /trackback | |
Disallow: /feed | |
Disallow: /tag | |
Disallow: /page/ | |
Disallow: */comments | |
Disallow: ?replytocom* | |
Disallow: */comments-page-* | |
Disallow: */trackback | |
Disallow: */feed | |
Disallow: */comments | |
## For Events Calendar | |
Disallow: *post_type=tribe_events* | |
Disallow: *hide_subsequent_recurrences=* | |
Disallow: *tribe-bar-date=* | |
Disallow: *tribe-venue=* | |
Disallow: *eventDisplay=* | |
Disallow: *eventDate=* | |
Disallow: *paged=* | |
Disallow: *pagename=* | |
Disallow: *shortcode=* | |
Disallow: *ical=* | |
Disallow: *outlook-ical=* | |
Disallow: *related_series=* | |
Disallow: *tribe_geofence=* | |
Disallow: *tribe_organizer=* | |
Disallow: /events/tag/ | |
Disallow: /events/list/ | |
Disallow: /events/category/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment