• Resolved nhwp

    (@nhwp)


    Is there a way to programatically add rel=”noindex” to all links to PAST events? It’s great to have future events appear in Google Search, but it can be misleading or confusing when past events show up above future events of the same title in search results.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    That’s not a bad idea; not something I’d really given consideration to. You could do it via some custom JS or via a custom PHP filter, but it’s probably not worth doing the work, vs. the amount of work I have to do to take care of it in the core plugin.

    Thread Starter nhwp

    (@nhwp)

    Thanks for your reply, Joe.

    Is there a hook or filter you can send me towards to throw that together? Or are you planning to integrate that as an option in a future release?

    (just so I can update the client).

    Plugin Author Joe Dolson

    (@joedolson)

    On looking into it, it’s not that trivial via the existing filters. I’m planning on introducing it as a default option in the next release. (It’s already implemented; I just don’t have time for a release this week.)

    Thread Starter nhwp

    (@nhwp)

    That sounds great! We’ll take some baselines before we apply the next update so we can monitor it’s impact on old events showing up in Google search.

    Thanks for your responsiveness!

    Thread Starter nhwp

    (@nhwp)

    Thanks, Joe! I see the change has been included in the recent updated.

    One glitch I found is that future instances of a repeating or multi-date event are also seeing the rel=”nofollow” applied.

    See screenshot.
    https://www.dropbox.com/s/p4qfl5pfdwsiamd/20191218.PNG?dl=1

    Is there a fix for that?

    Thanks!

    Thread Starter nhwp

    (@nhwp)

    Oops! Sorry. Got the date wrong… seems to be working as intended.

    (drinking coffee now).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add nofollow to all past event links’ is closed to new replies.