Support » Plugin: WordPress HTTPS (SSL) » How can I force https on everything?

  • Resolved pixelnate


    My SSL Cert is set up and everything works when a user goes to, but if you just type in the URL ( they go strait to the http and NOT https. I have scoured the interwebs, but most solutions are for a standalone site. Cany anybody point me in the right direction to find out what I need to put in my .htaccess or change in the plugin I would be eternally greatful.

    This is for a large WPMU site and only the parent domain is being secured.


Viewing 2 replies - 1 through 2 (of 2 total)
  • I fixed it. I just put this function in the bottom of my functions.php file and now it always uses the secured url.

    function my_force_ssl() {
        return true;
    add_filter('force_ssl', 'my_force_ssl', 10, 3);

    Worked for me also on 3.8.1
    awesome, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I force https on everything?’ is closed to new replies.