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 WordPress installation automatical use HTTPS?

Discussion in 'Misc WordPress Requests' started by PepeCZ, Jan 24, 2018.

  1. PepeCZ

    Guest

    WordPress installation automatical use HTTPS?, by PepeCZ

    now we installed a clean wordpress installation on one of our domains
    and immediately after installation – we would not have to edit htaccess or wp-config.php
    so wordpress goes to https

    is this normal?

    a few months ago, all of our domains are running automaticall on letsencrypt certificate. now this was a first time since we’ve “reinstalled” new wordpress on a completely empty domain (completely pure ftp and database)

    If is this situation normal in latest version of WordPress,
    so we still need after fresh installation wordpress edit two files in root (htaccess, wp-config.php) or not? …we mean the two edits that I write below. Thanks for anyone who give info/tips. (or someone who give information if still exist situation why doing these two modifications – so why, pros vs cons)

    root/wp-config.php

    /** https administrace */
    define('FORCE_SSL_ADMIN', true);

    root/htaccess

    # Force HTTPS
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    WordPress installation automatical use HTTPS?
     
    #1

Share This Page

Monarch Social Sharing Plugin