• I was having an issue with a captcha API and was disabling/enabling plugins one by one to see where the conflict was. I disabled SSL Insecure Content Fixer and now I can’t access my site, including the dashboard. I have this hosted on Amazon AWS S3. How can I access my WP dashboard again, get this reactivated and get my site working again?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter topofthemornin

    (@topofthemornin)

    correction: Amazon AWS EC2

    Plugin Author webaware

    (@webaware)

    G’day topofthemornin,

    Just saw this in RSS (no email came, dammit!)

    Try adding this to your wp-config.php file, before any mention of ABSPATH:

    
    if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'https') {
    	$_SERVER['HTTPS'] = 'on';
    }
    

    It hard-codes the HTTPS detection used by a bunch of different server models, which is probably what’s keeping you locked out.

    If that doesn’t work, try the code specific to Cloudfront instead.

    cheers,
    Ross

    joepeterson

    (@joepeterson)

    Bless you @webaware! This had my heart pounding when I accidentally brought down my employer’s main site! ?? All better now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disabled plugin to troubleshoot – now site broken’ is closed to new replies.