Title: wordpress/wp-admin SSL
Last modified: August 21, 2016

---

# wordpress/wp-admin SSL

 *  [simonw88](https://wordpress.org/support/users/simonw88/)
 * (@simonw88)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/wordpresswp-admin-ssl/)
 * Hey,
 * So we’ve been banging our heads against the walls with this one.
 * We have two servers. A development, and a live. The live is essentially an exact
   copy of the dev as far as the wp-admin is concerned.
 * When visiting the **http**://dev-domain.com/wordpress/wp-admin on the DEV site
   it allows us in, it isn’t SSL and all the features within work perfectly.
 * When visiting the **http**://live-domain.com/wordpress/wp-admin on the LIVE site
   it redirects us to the /sign-in/ page of the whole site (front end)
 * when visiting the **https**://live-domain.com/wordpress/wp-admin on the LIVE 
   site it allows us in, it IS on an SSL link, and none of the features work properly
   due to the following error: (as an example)
 * **_XMLHttpRequest cannot load [http://www.live-domain.com/wordpress/wp-admin/admin-ajax.php](http://www.live-domain.com/wordpress/wp-admin/admin-ajax.php).
   Origin [https://www.live-domain.com](https://www.live-domain.com) is not allowed
   by Access-Control-Allow-Origin. nav-menus.php:1_**
 * Now, I can’t think of any valid reason why LIVE and DEV would behave differently
   but because its trying to find **admin-ajax.php** on a non-secure url from a 
   https:// version of the wp-admin, it means that none of the buttons work and 
   we are getting all these Xdomain errors.
 * Ideally we’d like both to work off SSL. but with as little setup work as possible
   as we have a very tight timescale on this it may be easier to work out why wp-
   admin is even forcing us to be on https:// in the first place.
 * Has anyone encountered a problem like this before? We have gone through and looked
   at FORCE_SLL and FORCE_ADMIN_SSL and is_ssl() function and tried to hardcode 
   values as a test to see if we can get around it.
    Better still, we commened out
   the auth_redirect() function and it at least stops the redirect back to /sign-
   in/. But instead sits on a wordpress ERROR page telling us we do not have sufficient
   permissions……. Could this be account based SSL? My login perms happens to screwed
   up?
 * Hope someone can make head or tail of this!
 * Thank. Simon

The topic ‘wordpress/wp-admin SSL’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [simonw88](https://wordpress.org/support/users/simonw88/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/wordpresswp-admin-ssl/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
