Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Help for https

Discussion in 'Misc WordPress Requests' started by Steve Stern, Dec 29, 2017.

  1. Steve Stern


    Reply To: Help for https, by Steve Stern

    It seems you’ve been blindly copying and pasting. That generally leads to a poor outcome.

    You do not need to use “FORCE_SSL”, nor do you need to edit wp-config.php. Use this script to search for http://example.com and replace with https://example.com:


    On sites I make SSL, I add this to .htaccess:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

    This is my httpd config https://gist.github.com/sterndata/55bac4f1d833421203cff7816e2f5276

    You probably do not need / should not use lines 26-28

    Reply To: Help for https

Share This Page

Monarch Social Sharing Plugin