Support » Plugin: SSL Insecure Content Fixer » Changed Protocol, broke site

  • Resolved daniocana


    I changed “http_x_forwarded_proto” (recommended) to “normal” and looks like a lot of stuff is now broken… I accessed via sftp to make changes in the code to switch back from one to another, as now i cant enter in the admin dashboard on the web, but i cant find where i should replace this code. Can anyone help me? Appreciate it a lot, thank you!!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author webaware


    G’day daniocana,

    Edit your wp-config.php file and add these lines near the top of the file:

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

    This does exactly what the plugin does when you select that fix.


Viewing 1 replies (of 1 total)
  • The topic ‘Changed Protocol, broke site’ is closed to new replies.