We have several environments and we have just started using wordpress (Dev, QA, Pre-prod, prod etc…). We don’t have https enabled in the lower environments and everything is working smoothly. In our prod environments the site redirects all traffic to https.
The first issue seems to only be with chrome. Chrome refuses to load anything on the page that isn’t https. I am unsure how to get WordPress to load jquery or styles.css (from my theme) over https ( more information below).
The second issue also with HTTPS is we cannot log into wordpress in the environments that use HTTPS. When the login screen loads (sitename.com/wp-admin) you get redirected to wp-login as expected but upon entering your username / password the page just refreshes. No errors (checked console / firebug and httpfox and couldn’t find any errors).
I know we are doing something wrong with https in general because we are having many problems in the environments that support it. I have done a bunch of googling and haven’t really come up with much on using HTTPS and wordpress surprisingly. Aside from answers to the questions of how to load jquery via HTTPS and how can we log into the https wordpress instances, are there any good links on how to work with HTTPS in wordpress. Almost everything I have found points to using the plugin WordPress HTTPS and we are going to try that but I am not sure if it will solve all of our issues.
Note* In my functions.php I am using Enqueue to load JS and CSS files the proper way, and I am using relative pathing on those loads //sitename.com/bla/bla which works fine. I am loading jquery using: in my header.php and styles.css is loaded automatically as part of my theme loading using , so I don’t know how to configure either to load via HTTPS or if that is even the correct approach to fixing these issues. (jQuery is loading from our local file system not a CDN). Any help would be greatly appreciated. Thanks in advance.