Thanks for your response.
However using a preview in WordPress of another theme works fine, for the links on the event/calendar page.
Were you able to try activating the said theme and see if it actually resolves the issue? If so, then the issue might be coming from your theme that is in conflict with our plugin.
I took a closer look at the issue further, and I can confirm what’s happening.
When the AJAX request is sent to the following REST endpoint:
/wp-json/tribe/views/v2/html
the server responds with a 301 redirect and forwards the request to the site’s homepage instead. Because of this redirect, the request never reaches the REST API, which causes the AJAX call to fail.
REST API and AJAX requests are expected to return a 200 response. Redirects—especially 301s—will break these requests and prevent features like Past Events navigation, pagination, or filtering from working correctly.
This behavior is typically caused by a redirect rule or configuration on the site, such as:
- A forced canonical redirect from an SEO plugin
- HTTP → HTTPS or domain normalization rules
- A security or firewall plugin blocking REST requests
- Server-level redirects in
.htaccess, Nginx, or Cloudflare
To resolve this, please ensure that any redirect rules explicitly exclude REST API requests, particularly:
/wp-json/*
As a quick test, you can try temporarily disabling SEO, security, or caching plugins to identify whether one of them is triggering the redirect. Additionally, accessing the REST endpoint directly in a browser should return JSON—if it redirects instead, that confirms the issue is happening before WordPress can process the request.
Once the redirect is removed or adjusted to allow REST API requests, the AJAX functionality should work as expected. Let me know how it goes.