Events Calendar hijacking any page that has /events/past-events/ in URL

Home Forums Calendar Products Events Calendar PRO Events Calendar hijacking any page that has /events/past-events/ in URL

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1349402
    Adam Schwartz
    Participant

    Hi,

    We have pages that use /events/past-events/ in their URLs, which makes the plugin think that this is its own event and attempts to hijack it. Ex: /research/center-for-law/events/past-events/business-investment-forum gets redirected to /research/center-for-law/events/list/-events/business-investment-forum/?tribe_event_display=past, which then causes a 404.

    Is there anyway to get the plugin to only attempt this on URLs where /events/past-events is at the front of the URL, not anywhere in the middle? I know we can change the slug to something else, but this is a huge site and hunting down the URLs would be time-intensive. We’d much prefer to get this fixed on the plugin’s end.

    Thanks!

    #1349696
    Cliff
    Member

    Hi, Adam. Thanks for your detailed question.

    We also have a dedicated URL redirect in place for past events. Example from our demo site: http://wpshindig.com/events/past/ goes to http://wpshindig.com/events/list/?tribe_event_display=past

    This should work the same way on your site too.

    There’s a known bug where a single event like “yoursite/event/pastor-emeritus/” would redirect improperly elsewhere to “or-emiritus” (the “past” gets taken off the slug) — but this is only confirmed if both the Events URL slug (normally “events”) and the Single event URL slug (normally “event”) are the same.

    I did some testing and http://wpshindig.com/events/pasttestinganything/ redirects to http://wpshindig.com/events/list/testinganything?tribe_event_display=past (notice the testinganything in the middle there?) — which is a 404 — so I think this is related to the known bug I mentioned at the beginning.

    I’ve logged this with that other bug report — to get more robust and targeted redirect rules for “past”, and I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.

    I apologize for this issue and appreciate your understanding and patience.

    #1349739
    Adam Schwartz
    Participant

    Thanks for the update, Cliff!

    #1349903
    Cliff
    Member

    You’re welcome. Thanks for your understanding.

    #1387487
    Courtney
    Member

    We released an update for this issue. Can you update your plugins (preferrably on a staging site) and see if that resolves the issue.

    https://theeventscalendar.com/maintenance-release-week-13-november-2017/

    Thanks
    Courtney ?

    #1403755
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Events Calendar hijacking any page that has /events/past-events/ in URL’ is closed to new replies.