Support » Plugin: Events Manager » Set past events to noindex, nofollow

  • Resolved Plastikschnitzer


    I have the problem that my old outdated event pages are ranked higher than upcoming events.
    I use markup and its interpreted correctly, so I think the problem is on googles side of things, but I thought maybe there is a way to be more “helpful” to search engines.
    I delete old events on regular basis, but it seems to take a long time until the URLs disappear from the search index. Sitemaps are correct by the way …

    So I thought maybe it would be helpful to set old pages to status noindex, nofollow in order to not show the old events on the search engine results page.

    Any idea?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl


    sorry but I’m afraid that this is not yet possible out of the box at the moment. It might be possible but you need to do it manually by editing the events under admin dashboard.

    Hi @plastikschnitzer, my personal work-around is to redirect old events back to the main events page. All my events have the start date in the slug, so that makes it easy.

    For example:
    Event slug = ‘/events/event-2019-04-15/’

    Then on May 1st, I add this to my .htaccess:
    RedirectMatch 301 ^/events/(.*)-2019-04-(.*)$ /events/

    That will redirect every URL containing ‘2019-04-‘ to the main events list page.

    Once a year (January 1st) I delete all the monthly redirects and replace it one for a whole year (keeps the .htaccess cleaned up).
    RedirectMatch 301 ^/events/(.*)-2019-(.*)$ /events/

    That way, Google will automatically remove the past events from its index when it crawled your site, because it gets the 301 (permanently moved) message.

    It’s basically the same solution for when you delete an event. Then Google wants a redirect as well, to prevent a 404-error. But this way, you can bundle a whole month together, without actually deleting the event and loosing the booking data.

    Hope it helps. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set past events to noindex, nofollow’ is closed to new replies.