• Resolved dumboxp

    (@dumboxp)


    The Plugin Statify with enabled JavaScript-based tracking causes http-authentication in Microsoft Edge under Windows 10 (e.g. version 118) on every page load. If the user cancels the authentication dialog, an error 401 is shown in the browser console with the URL /wp-admin/admin-ajax.php.

    The JS-based tracking requests via admin-ajax.php work fine in other browsers like Firefox, Safari, Chrome, or Brave under macOS.

    I now switched back to “Standard-Tracking” which may not work well with the enabled “WP Super Cache”-plugin.

    Any idea how to avoid the authentication in MS Edge when enabling JavaScript-based tracking?

    • This topic was modified 8 months, 2 weeks ago by dumboxp.
    • This topic was modified 8 months, 2 weeks ago by dumboxp.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Torsten Landsiedel

    (@zodiac1978)

    Hi @dumboxp

    this usually happens if the authentication is restricting the whole /wp-admin folder and there is no exception made for admin-ajax.php.

    Better approach is to restrict the wp-login.php instead of the complete folder.

    Can you share how do you restrict access? Or do use something from your hoster?

    I am wondering why this would only affect MS Edge. Maybe the other browser still had the page in the browser cache?

    All the best
    Torsten

    Thread Starter dumboxp

    (@dumboxp)

    Dear Torsten,

    Thanks for your quick reply! You are right that the restrictions in my /wp-admin/.htaccess file (taken from suggestions on the Internet) was too restricted.

    I added the following to allow unauthorized requests to admin-ajax.php from the Statify plugin which solved the issue I had with MS Edge.

    <Files admin-ajax.php>
    Order allow,deny
    Allow from all
    Satisfy any 
    </Files>

    And yes, its really strange that only MS Edge was affected.

    • This reply was modified 8 months, 2 weeks ago by dumboxp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Statify request to admin-ajax.php triggers http-auth in MS Edge’ is closed to new replies.