Viewing 7 replies - 1 through 7 (of 7 total)
  • I can’t actually access your site through that URL (it links to an old site, but I’m unsure if the same problem is visible there).

    What I can say is that if no events are retrieved then a 404 status is indeed returned – whether this is exposed in the form of a prominent error message or within a page title etc is something your theme controls.

    Thread Starter siriusly

    (@siriusly)

    Sorry about the URL… the site is in maintenance mode for the moment. Is there any way to change it to return something other than 404?

    It’s possible, but this is actually intentional behaviour (just as if you accessed an empty tag or category archive with WordPress generally a 404 status would result).

    I’m still not 100% sure about the actual conditions you are describing, though. Do you mean the upcoming list view but with a specific date as the start date, resulting in no events being shown, or something like that?

    Thread Starter siriusly

    (@siriusly)

    Do you mean the upcoming list view but with a specific date as the start date, resulting in no events being shown…?

    Yes. That is when the 404 message appears above the page title.

    OK, well I think in that case it sounds like you are hitting up against what is actually intentional behaviour.

    If ultimately the problem is the messaging added by your theme perhaps you can customize that? You can certainly use functions like tribe_is_event_query() to limit any changes so that they don’t affect non-event pages.

    Does that help?

    Thread Starter siriusly

    (@siriusly)

    Thanks for your reply! I’d rather that just it just displays the “there are no events schedule on this day” type of alert box that shows up in other circumstances. Maybe this is something that could be changed with a future update? I can edit the theme’s 404 message, for now though, using the function info. Many thanks!

    For sure: we welcome any and all feature requests for future releases om our UserVoice page 🙂

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘404 error displays on days with past events & no events’ is closed to new replies.