Title: Issue with admin-ajax.php
Last modified: June 9, 2022

---

# Issue with admin-ajax.php

 *  Resolved [Blaze Concepts](https://wordpress.org/support/users/blazeconcepts/)
 * (@blazeconcepts)
 * [4 years ago](https://wordpress.org/support/topic/issue-with-admin-ajax-php/)
 * Hi, we’re having an issue with a third party plugin that when posting to admin-
   ajax.php when not logged in, it causes it to fail and redirect to the front page.
   Any suggestions on how to keep the hidden backend URL from visitors but make 
   an exception for this plugin? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Darrel](https://wordpress.org/support/users/johndarrel/)
 * (@johndarrel)
 * [4 years ago](https://wordpress.org/support/topic/issue-with-admin-ajax-php/#post-15724476)
 * Hi [@blazeconcepts](https://wordpress.org/support/users/blazeconcepts/),
 * Thanks for reaching out.
 * You get the redirect when you change the admin-ajax.php path or wp-admin path
   to secure the ajax.
 * 1. A solution is to let the admin-ajax.php unchanged and don’t hide the wp-admin
   or, to set the new ajax path in the other plugin so that the calls should be 
   made correctly.
 * 2. Whitelist the IP at Brute Force settings if you know the call source to be
   able to access the ajax path from that IP.
 *  Thread Starter [Blaze Concepts](https://wordpress.org/support/users/blazeconcepts/)
 * (@blazeconcepts)
 * [4 years ago](https://wordpress.org/support/topic/issue-with-admin-ajax-php/#post-15724635)
 * Hi [@johndarrel](https://wordpress.org/support/users/johndarrel/),
 * Thanks for the quick response! I’ll have a chat with my client on what they want
   to do thanks!
 *  Plugin Support [Peter](https://wordpress.org/support/users/petersquirrly/)
 * (@petersquirrly)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/issue-with-admin-ajax-php/#post-15780426)
 * You’re most welcome [@blazeconcepts](https://wordpress.org/support/users/blazeconcepts/)!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue with admin-ajax.php’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

## Tags

 * [IP](https://wordpress.org/support/topic-tag/ip/)

 * 3 replies
 * 3 participants
 * Last reply from: [Peter](https://wordpress.org/support/users/petersquirrly/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/issue-with-admin-ajax-php/#post-15780426)
 * Status: resolved