Title: HTTPS and AAM CSS files: mixed contents issue
Last modified: May 12, 2021

---

# HTTPS and AAM CSS files: mixed contents issue

 *  [hexaae](https://wordpress.org/support/users/hexaae/)
 * (@hexaae)
 * [5 years ago](https://wordpress.org/support/topic/https-and-aam-css-files-mixed-contents-issue/)
 * I can’t understand why AAM has problems loading in HTTPS a pair of css:
    /wp-
   content/plugins/advanced-access-manager/media/css/aam.css /wp-content/plugins/
   advanced-access-manager/media/css/vendor.min.css
 * [⌊image⌉⌊image⌉[
 * showing a mixed contents error with any browser:
    _Mixed Content: The page at‘/
   wp-admin/admin.php?page=aam’ was loaded over HTTPS, but requested an insecure
   stylesheet ‘/wp-content/plugins/advanced-access-manager/media/css/vendor.min.
   css’. This request has been blocked; the content must be served over HTTPS._
 * Everything else on the site and in backend gets correctly loaded using HTTPS,
   except AAM UI’s CSS and I can’t understand why 🙁
 * AAM 6.7.5
    PHP: 7.4.13 Wordpress: 5.7.1

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

 *  [jjthomps](https://wordpress.org/support/users/jjthomps/)
 * (@jjthomps)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/https-and-aam-css-files-mixed-contents-issue/#post-14986425)
 * Hi Hexaae
 * Did you manage to fix this?
 * Thanks
 * Jason
 *  Thread Starter [hexaae](https://wordpress.org/support/users/hexaae/)
 * (@hexaae)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/https-and-aam-css-files-mixed-contents-issue/#post-14996641)
 * [@jjthomps](https://wordpress.org/support/users/jjthomps/)
    No unfortunately.
   My only manual solution was to edit plugin CSS directly replacing “<?php echo
   AAM_MEDIA; ?>” with real path: [/plugin-editor.php?file=advanced-access-manager%2Fapplication%2FBackend%2Ftmpl%2Fmetabox%2Fiframe-header.php&plugin=advanced-access-manager%2Faam.php](https://wordpress.org/plugin-editor.php?file=advanced-access-manager%2Fapplication%2FBackend%2Ftmpl%2Fmetabox%2Fiframe-header.php&plugin=advanced-access-manager%2Faam.php)
 *     ```
       <link rel="stylesheet" href="<?php echo AAM_MEDIA; ?>/css/vendor.min.css" type="text/css" media="all" />
               <link rel="stylesheet" href="<?php echo AAM_MEDIA; ?>/css/aam.css" type="text/css" media="all" />
   
       change to:
   
                    <link rel="stylesheet" href="/wp-content/plugins/advanced-access-manager/media/css/vendor.min.css" type="text/css" media="all" />
                    <link rel="stylesheet" href="/wp-content/plugins/advanced-access-manager/media/css/aam.css" type="text/css" media="all" />
       ```
   
 * (using AAM 6.7.7, still have to test latest 6.8.0. EDIT: tested 6.8.0 but wasn’t
   solved)
    -  This reply was modified 4 years, 7 months ago by [hexaae](https://wordpress.org/support/users/hexaae/).
      Reason: tested 6.8.0 still unfixed

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

The topic ‘HTTPS and AAM CSS files: mixed contents issue’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [hexaae](https://wordpress.org/support/users/hexaae/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/https-and-aam-css-files-mixed-contents-issue/#post-14996641)
 * Status: not resolved