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: Redirecting to https://www.

Discussion in 'Misc WordPress Requests' started by a2hostingrj, Oct 12, 2017.

  1. a2hostingrj


    Reply To: Redirecting to https://www., by a2hostingrj

    A simple way to redirect to HTTPS is by using a plugin:

    Another way is by adding this to the .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    <IfModule mod_rewrite.c>
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]

    Of course, you must change the site URL in WordPress settings.

    Reply To: Redirecting to https://www.

Share This Page

Monarch Social Sharing Plugin