How do I handle SSL properly when WP is behind a reverse proxy?

You can’t hook is_ssl() to override the result, and as you’ve noticed you can’t edit WordPress Core itself or your changes will get lost if you’re using built-in automatic updates. So the usual approach – see the WordPress documentation – is to set $_SERVER[‘HTTPS’] = ‘on’;, which is the property is_ssl() tests. Add the following … Read more

Featured image on post edit page not loading over HTTPS

It turned out to be a problem with the uploads directory (not sure what caused it initially). I was able to resolve the issue with the following filter: function fix_ssl( $url ) { if ( is_ssl() ) { if (stripos($url, ‘http://’) === 0) { $url=”https” . substr($url, 4); } } return $url; } function uploadDir($uploads) … Read more

All content is HTTPS, but browsers warn of HTTP mixed content [closed]

You have “www.wisconsinwetlands.org” URLs redirecting to insecure “http://wisconsinwetlands.org“. The cases you have used these is in the images on the page. Every image that is set as “https://www.” redirects to the insecure version. So while you do need to fix that and correctly configure your setup so that both “www” and non-www URLs are secure, … Read more

Site not reachable due to change from HTTP to HTTPS [closed]

Assuming that (it’s not clear from your question): you change htaccess to redirect http request to https (best way, IMHO). Lots of googles on that; your hosting place should also have guidance specific to thier hosting environment. you changed the two URLs in the wp-options table to show the full URL with https That’s all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)