Title: Problem with SSL
Last modified: June 18, 2018

---

# Problem with SSL

 *  Resolved [konstruct](https://wordpress.org/support/users/konstruct/)
 * (@konstruct)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/)
 * Hi.
 * I have WP installed in a sub-directory of a domain and have activated Really 
   Simple SSL.
 * I am getting the following error:
 * System detection encountered issues
    Your wp-config.php has to be edited, but
   is not writable.
 * Because your site is behind a loadbalancer and is_ssl() returns false, you should
   add the following line of code to your wp-config.php.
 * //Begin Really Simple SSL Load balancing fix
    $server_opts = array(“HTTP_CLOUDFRONT_FORWARDED_PROTO”
   => “https”, “HTTP_CF_VISITOR”=>”https”, “HTTP_X_FORWARDED_PROTO”=>”https”, “HTTP_X_FORWARDED_SSL”
   =>”on”, “HTTP_X_FORWARDED_SSL”=>”1”); foreach( $server_opts as $option => $value){
   if ((isset($_ENV[“HTTPS”]) && ( “on” == $_ENV[“HTTPS”] )) || (isset( $_SERVER[
   $option ] ) && ( strpos( $_SERVER[ $option ], $value ) !== false )) ) { $_SERVER[“
   HTTPS” ] = “on”; break; } } //END Really Simple SSL Or set your wp-config.php
   to writable and reload this page.
 * I have added the above code to the WP_Config file however, there still seems 
   to be an issue. Any ideas of what’s going wrong?
 * Lee
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-ssl-9%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410061)
 * Hi,
 * the site seems to load fine over SSL, the /awards/ page does have some mixed 
   content, this video is loaded over [http://](https://wordpress.org/support/topic/problem-with-ssl-9/?output_format=md):
   [http://mobilemarketingmagazine.com/awards/wp-content/uploads/2018/03/video.mp4](http://mobilemarketingmagazine.com/awards/wp-content/uploads/2018/03/video.mp4).
 * This link seems to be generated by the following file:
    [https://mobilemarketingmagazine.com/awards/wp-content/plugins/gp-premium/page-header/functions/js/jquery.vide.min.js?ver=1.6.2](https://mobilemarketingmagazine.com/awards/wp-content/plugins/gp-premium/page-header/functions/js/jquery.vide.min.js?ver=1.6.2)
 * Since this is a minified Javascript file you can try to temporarily disable the
   Javascript minification option (likely in the gp-premium plugin and/or caching
   plugin), clear the cache and then re-enable the minification option. That should
   fix your issue and give the /awards/ page the green lock.
 * Mark
 *  Thread Starter [konstruct](https://wordpress.org/support/users/konstruct/)
 * (@konstruct)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410091)
 * Hi Mark.
 * Thanks for the speedy response!
 * I’ve just looked in to it a bit further and realised that all of the files in
   the media library are still http (not https)
 * Also, in WordPress > Settings > General, the WP Address and Site Address are 
   still http also.
 * Should these have all changed?
 * Lee
 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410137)
 * Hi Lee,
 * yes, activating SSL should change the home and site url should change to [https://](https://wordpress.org/support/topic/problem-with-ssl-9/?output_format=md).
   The mixed content fixer should update all internal links to use https:// as well.
   Have you pressed the ‘Go ahead, activate SSL!’ button?
 * Mark
 *  Thread Starter [konstruct](https://wordpress.org/support/users/konstruct/)
 * (@konstruct)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410161)
 * That’s what i thought.
 * I have just clicked the ‘Go ahead, activate SSL!’ button, now i am getting a 
   message:
 * ‘Sorry, you are not allowed to access this page.’ when trying to access the back-
   end. Front end is working ok (albeit still loading mixed content).
 * Thanks.
 * Lee
 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410206)
 * The website seems to return a Cloudflare header, it is possible Cloudflare is
   caching old data which can lead to issues. Can you try to clear the Cloudflare
   cache to see if that resolves your issue?
 * Mark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with SSL’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwolters/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/problem-with-ssl-9/#post-10410206)
 * Status: resolved