Title: PixelYourSite Plugin triggers Basic Authentication
Last modified: November 13, 2021

---

# PixelYourSite Plugin triggers Basic Authentication

 *  Resolved [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/)
 * Hello PYS-Support,
 * I installed and activated the Free PYS Plugin and set up the Facebook Conversion
   API.
 * Since then, as soon as any page on the Site is called, a Basic Authentication
   Interface pops up (Standard Basic Auth).
 * As soon as I deactivate the PYS Plugin, the Basic Authentication is gone.
 * I verified this beahvior severeral times:
    PYS Plugin activated -> Basic Auth
   active PYS Plugin deactivated -> no Basic Auth
 * Thanks for hints on how to get rid of the Authentication when using the PYS Plugin
 * Thanks and cheers
 * Sklerotraficon

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

 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064504)
 * Hello,
 * That’s very unusual, and to be honest I don’t event know what this Authentication
   can be.
 * Are you sure you don’t have some code added using our Head and Footer feature
   that is related to this popup?
 *  Thread Starter [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064537)
 * Hi,
 * I checked the .htacces and the part with Basic Auth is not active (commented).
   Apart from that, there is no Basic Auth code for the Website.
 * Thanks again for hints…
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064541)
 * Please check if you have any code added using the plugin’s head and footer option.
 * Open the plugin, and you will see a link to this feature in the right-side menu.
 *  Thread Starter [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064560)
 * Thanks for your support,
 * I reactivated the plugin, checked the Head & Footer section in the plugin, and
   there is nothing added in these fields, I also deactivated the slide switch and
   saved the Settings.
 * To no prevail, the Basic Auth is still showing.
 * Then I deactivated the plugin and the Basic Auth is gone promptly…
 * Thanks again…
 * Sklerotraficon
 *  Thread Starter [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064584)
 * One thing I did notice:
 * With the plugin enabled, when reloading the website, there goes one call to /
   wp-admin/admin-ajax.php (it keeps pending, until I hit the Cancel Button on the
   Basic Auth Interface, resulting in the request returning 401) which is not occuring
   with the disabled plugin.
 * Maybe this is a clue.
    -  This reply was modified 4 years, 6 months ago by [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/).
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064586)
 * The admin admin ajax called is normal, and I can’t see how it triggers your issue.
 * I’m afraid I have no idea why this happens.
 * You can message us your website URL on our website’s contact page to take a look.
    -  This reply was modified 4 years, 6 months ago by [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/).
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064630)
 * On top of checking your .htacces, I would also suggest you to look for any other
   plugin that might enable basic authentication, and to contact your hosting’s 
   support. Maybe they have some extra security measures that create a conflict 
   with our plugin.
 *  Thread Starter [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064631)
 * The wp-admin folder contains a .htaccess file with basic auth to prevent access
   to this folder.
 * Since the Plugin triggers (or at least, with the plugin activated, this call 
   is triggered) this url, of course the Basic Auth is activated.
 * Is there a way to keep the plugin from calling /wp-admin/admin-ajax.php ?
 * Thank you
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064643)
 * I’m glad you found the source of your problem.
 * You can try to disable the admin ajax option we have under the Facebook ID.
 * There is also an ajax filter values option on the Consent page that you can disable.
 * But we do need admin.jax to avoid things like caching event ids, so this might
   not be a good idea.
 *  Thread Starter [sklerotraficon](https://wordpress.org/support/users/sklerotraficon/)
 * (@sklerotraficon)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064652)
 * Thanks for the hint,
 * Disabling “Use Ajax when conversion API is enabled. Keep this option active if
   you use a cache” option did the trick.
 * What are the downsides of disabling this options ?
 * Thanks for your support!!
 * Sklerotraficon
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064666)
 * Depending on your cache configuration, it’s possible that the event ID’s cached.
 * You can test this easily: open a page, check an event with Pixel Helper, and 
   look for the event ID. Refresh the page, check the same event, and look if the
   event ID is different. If it is, you are fine and you don’t need that option 
   ON.

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

The topic ‘PixelYourSite Plugin triggers Basic Authentication’ is closed to new 
replies.

 * ![](https://ps.w.org/pixelyoursite/assets/icon-256x256.jpg?rev=3178123)
 * [PixelYourSite - Your smart PIXEL (TAG) & API Manager](https://wordpress.org/plugins/pixelyoursite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixelyoursite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixelyoursite/)
 * [Active Topics](https://wordpress.org/support/plugin/pixelyoursite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixelyoursite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixelyoursite/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/pixelyoursite-plugin-triggers-basic-authentication/#post-15064666)
 * Status: resolved