Title: Ajax querying wp-admin causing issues.
Last modified: January 31, 2020

---

# Ajax querying wp-admin causing issues.

 *  [robok](https://wordpress.org/support/users/robok/)
 * (@robok)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/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](https://bio.nmsu.edu/calendar).
 * Thanks in advance!

The topic ‘Ajax querying wp-admin causing issues.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajax-event-calendar_fdcdf9.svg)
 * [Event Calendar](https://wordpress.org/plugins/ajax-event-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-event-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-event-calendar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [robok](https://wordpress.org/support/users/robok/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/ajax-querying-wp-admin-causing-issues/)
 * Status: not resolved