Ajax querying wp-admin causing issues.
-
Hello,
I work at a university that is currently using WordPress for most of its web needs. Ajax has been our calendar of choice for many years now.
Due to the nature of WordPress in a university setting, we restrict visits to /wp-admin by IP. Only users that have a university-issued IP (which requires they be on campus) can visit /wp-admin. This is to prevent bot spam, brute force attacks, etc.
Recently, we noticed users visiting calendars from off-campus can see the calendar, but not events on it. It’s just a blank calendar. Using Chrome’s console, we were able to see that when a user visits the calendar, at some point they attempt to query /wp-admin for something. Since they are off-campus, this won’t work, and the calendar fails to show items.
Does anyone have any advice or insight? Here’s a link to one of many pages with this issue on our multisite: https://bio.nmsu.edu/calendar.
Thanks in advance!
The topic ‘Ajax querying wp-admin causing issues.’ is closed to new replies.