Title: noindex Past Events for The Events Calendar
Author: Room 34 Creative Services, LLC
Published: <strong>10. Novembar 2016.</strong>
Last modified: 18. Maj 2026.

---

Search plugins

![](https://ps.w.org/noindex-past-events/assets/icon.svg?rev=2645282)

# noindex Past Events for The Events Calendar

 By [Room 34 Creative Services, LLC](https://profiles.wordpress.org/room34/)

[Download](https://downloads.wordpress.org/plugin/noindex-past-events.1.2.5.zip)

 * [Details](https://me.wordpress.org/plugins/noindex-past-events/#description)
 * [Reviews](https://me.wordpress.org/plugins/noindex-past-events/#reviews)
 * [Development](https://me.wordpress.org/plugins/noindex-past-events/#developers)

 [Support](https://wordpress.org/support/plugin/noindex-past-events/)

## Description

This plugin is an add-on for Modern Tribe’s The Events Calendar plugin. It adds 
a „noindex“ meta tag to the individual detail pages for events after their end date
has passed, to prevent them from appearing in search engines like Google or Bing.

Note that this only takes effect the next time a search engine indexes your site,
so past events may still appear in search results for a few days.

## Reviews

![](https://secure.gravatar.com/avatar/5e4d94f98330d8f1a0d60b83b855798f0ed52bfb2187da32ef361426c1e4d1f5?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-1393/)󠁿

 [dbp](https://profiles.wordpress.org/optimus203/) 5. Mart 2018.

Thanks for this. Ended up just extracting a function from your work so I can noindex
all events.

 [ Read all 1 review ](https://wordpress.org/support/plugin/noindex-past-events/reviews/)

## Contributors & Developers

“noindex Past Events for The Events Calendar” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Room 34 Creative Services, LLC ](https://profiles.wordpress.org/room34/)

[Translate “noindex Past Events for The Events Calendar” into your language.](https://translate.wordpress.org/projects/wp-plugins/noindex-past-events)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/noindex-past-events/),
check out the [SVN repository](https://plugins.svn.wordpress.org/noindex-past-events/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/noindex-past-events/)
by [RSS](https://plugins.trac.wordpress.org/log/noindex-past-events/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.5 – 2026.05.18

 * Refactored `r34npe_search_exclude()` function to use `get_posts()` instead of
   custom SQL query.
 * Minor additional code refactoring to pass [Plugin Check](https://wordpress.org/plugins/plugin-check/)
   tests.
 * Bumped WP requirement to 5.3.
 * Updated „Tested up to“ to 7.0.

#### 1.2.4 – 2021.12.16

 * Modified plugin title to make clear that it is specifically for use with Modern
   Tribe’s The Events Calendar plugin.
 * Updated „Tested up to“ to 5.8.2.

#### 1.2.3 – 2021.09.20

 * Switched check for past events to using `wp_date()` (if it’s available) instead
   of `date()`.
 * Updated logo/icon assets.
 * Updated „Tested up to“ to 5.8.1.
 * Reformatted changelog.

#### 1.2.2

 * Removed priority from add_action(‘pre_get_posts’, ‘r34npe_search_exclude’); because
   it wasn’t working.

#### 1.2.1

 * Switched time() to current_time() to account for WP time zone handling.

#### 1.2.0

 * Added logic to exclude past events from WP search results.

#### 1.1.0.1

 * Updated „Tested up to“ to 4.7.

#### 1.1.0

 * Added admin message if The Events Calendar plugin is not activated.

#### 1.0.0

 * Initial release in WordPress Plugin Directory.

## Meta

 *  Version **1.2.5**
 *  Last updated **5 months ago**
 *  Active installations **50+**
 *  WordPress version ** 5.3 or higher **
 *  Tested up to **7.0.6**
 *  Language
 * [English (US)](https://wordpress.org/plugins/noindex-past-events/)
 * Tags
 * [noindex](https://me.wordpress.org/plugins/tags/noindex/)[search engines](https://me.wordpress.org/plugins/tags/search-engines/)
   [the events calendar](https://me.wordpress.org/plugins/tags/the-events-calendar/)
 *  [Advanced View](https://me.wordpress.org/plugins/noindex-past-events/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/noindex-past-events/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/noindex-past-events/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/noindex-past-events/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/noindex-past-events/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/noindex-past-events/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/noindex-past-events/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/noindex-past-events/reviews/)

## Contributors

 *   [ Room 34 Creative Services, LLC ](https://profiles.wordpress.org/room34/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/noindex-past-events/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://room34.com/donation)