TomsRiverWebDesign
Forum Replies Created
-
@dopiaza I am using WordPress HTTPS and it only creates one cache file per url. What https plugin are you using if I could ask?
Scott
Forum: Installing WordPress
In reply to: Blank page after installation (still)30 WordPress installations under my belt and still this just happened to me. Make sure that you activate your theme. Appearance > Themes > (Yours) > Activate
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 and SSLThis forces https/SSL for the captcha image, even on forms served up with plain old http. It’s a brute-force approach and if anyone knows better way
then I would use that. This is what we have in our wp-config file right now and it seems to work:
/** hardcode the 'Really Simple Captcha' url for https */
define('WPCF7_CAPTCHA_TMP_URL','https://yoursite.com/wp-content/uploads/wpcf7_captcha');
Hi Mike,
I too wanted to be clear in my post, and for the benefit of anyone reading, do _not_ copy my code verbatim! – I’m not using Shared SSL. And your headers may vary
Try to work out what headers are coming from your proxy. Nginx was only sending the domain name without the scheme in the HTTP_HOST header, so that was out. I admit mine is more of a kludge.
Excellent plugin all around… Thanks Mike!
I got it. It seems that 3 times out of 4, the redirect happens as a result of the is_ssl() function, which is located around line 270.
I changed this line:
if ( $this->shared_ssl == 1 && strpos($this->https_url, $_SERVER['HTTP_X_FORWARDED_SERVER']) !== false ) {To this:
if (strpos($this->https_url, $_SERVER['HTTP_X_URL_SCHEME'] . '://' . $_SERVER['HTTP_X_FORWARDED_SERVER'] ) !== false ) {It had to be done since my proxy web server wasn’t passing along the protocol to apache. Unfortunately I trashed the shared_ssl option in the process, so this may not work for you.
Best Regards,
ScottForum: Fixing WordPress
In reply to: Post Editor Toolbar missingMake sure javascript is enabled in your browser’s settings.