WordPress HTTPS (SSL)
[resolved] How can I force https on everything? (3 posts)

  1. pixelnate
    Posted 3 years ago #

    My SSL Cert is set up and everything works when a user goes to https://texasbaptists.org, but if you just type in the URL (texasbaptists.org) 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.



  2. pixelnate
    Posted 3 years ago #

    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);
  3. CS_KB
    Posted 2 years ago #

    Worked for me also on 3.8.1
    awesome, thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic