Title: Problem with HTTPS
Last modified: October 15, 2016

---

# Problem with HTTPS

 *  Resolved [glorain](https://wordpress.org/support/users/glorain/)
 * (@glorain)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-https-7/)
 * Hello.
 * My website is under https and I noticed that your plugin is injecting http request
   to load wp-admin/admin-ajax.php in your .JS files.
 * Here is the alert message :
 * Mixed Content: Your page was loaded over HTTPS, but requested an insecure XMLHttpRequest
   endpoint ‘[http://www.XXXXXXXXXXXX.fr/wp-admin/admin-ajax.php&#8217](http://www.XXXXXXXXXXXX.fr/wp-admin/admin-ajax.php&#8217);.
   This request has been blocked; the content must be served over HTTPS.
 * Is there a way to change the way the file is loaded to be in HTTPS ?
 * Thx

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-https-7/#post-8318802)
 * Hi,
 * Slimstat tries to detect if the server is setup to be served over HTTPS, however
   some other plugins or techniques do not allow Slimstat to detect the protocol
   correctly. We use a WordPress function to calculate the protocol for calling 
   admin-ajax:
 * `admin_url( 'admin-ajax.php' )`
 * Please make sure your settings propagate through the WordPress processing engine
   correctly. Also, see
 * [https://codex.wordpress.org/Function_Reference/is_ssl](https://codex.wordpress.org/Function_Reference/is_ssl)
 * Best,
    Jason
    -  This reply was modified 9 years, 7 months ago by [Jason Crouse](https://wordpress.org/support/users/coolmann/).

Viewing 1 replies (of 1 total)

The topic ‘Problem with HTTPS’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-https-7/#post-8318802)
 * Status: resolved