Title: admin-post.js and css over https issue
Last modified: August 21, 2016

---

# admin-post.js and css over https issue

 *  Resolved [mtomic](https://wordpress.org/support/users/mtomic/)
 * (@mtomic)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/admin-postjs-and-css-over-https-issue/)
 * Hi guys,
 * I have
 *     ```
       define('FORCE_SSL_LOGIN', true);
       define('FORCE_SSL_ADMIN', true);
       ```
   
 * in wp-config.php file.
    When I edit a CPT, I get the following errors in my browser
   console `/wp-admin/post.php?post=xxxx&action=edit was loaded over HTTPS, but 
   ran insecure content from http://xxxx/wp-content/plugins/cpt-onomies/js/admin-
   post.js?ver=3.8.1` and ‘/wp-admin/post.php?post=xxxx&action=edit’ was loaded 
   over HTTPS, but ran insecure content from ‘[http://xxxx/wp-content/plugins/cpt-onomies/css/admin-post.css?ver=3.8.1&#8217](http://xxxx/wp-content/plugins/cpt-onomies/css/admin-post.css?ver=3.8.1&#8217);
   files should also be loaded via https.
 * Without those 2 files, my CPT edit page is broken. Any ideas?
 * [https://wordpress.org/plugins/cpt-onomies/](https://wordpress.org/plugins/cpt-onomies/)

Viewing 1 replies (of 1 total)

 *  [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * (@bamadesigner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/admin-postjs-and-css-over-https-issue/#post-4636018)
 * Hmm. Are you still having problems with this?
 * It’s hard for me to test this. I made a couple of changes to admin.php. Can you
   tell me if this worked for you?
 * [Here are the changes listed out](https://plugins.trac.wordpress.org/changeset/876688).
   Just a few changes to the admin_register_styles_and_scripts() function.
 * You can see the updated filed on [WordPress SVN](http://plugins.svn.wordpress.org/cpt-onomies/trunk/admin.php)
   or [my Github account](https://github.com/bamadesigner/cpt-onomies/blob/master/admin.php).
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘admin-post.js and css over https issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-onomies_f2f2f2.svg)
 * [CPT-onomies: Using Custom Post Types as Taxonomies](https://wordpress.org/plugins/cpt-onomies/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-onomies/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-onomies/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-onomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-onomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-onomies/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Rachel Cherry](https://wordpress.org/support/users/bamadesigner/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/admin-postjs-and-css-over-https-issue/#post-4636018)
 * Status: resolved