• Hi there,

    I am running a multisite setup.

    I currently have my child sites set up as https as I can change the site URLs.

    The parent site is also working on https but only because of a redirect setup on Cloudflare.

    Does anybody know how I can go about changing the parent site URL to https as there are a few issues with it still being set to https and having to use redirects.

    Any advice much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • find
    RewriteEngine On
    RewriteBase /

    in your wp-config.php, and replace with

    RewriteEngine On
    RewriteCond %{HTTPS} !on
    RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
    RewriteBase /

    This should force https.

    Thanks,

    Aaron

    • This reply was modified 7 years, 11 months ago by amadhav1.
    Thread Starter ajoh00n

    (@ajoh00n)

    Hi Aaron,

    Thanks for this.

    Those lines don’t seem to be in my wp-config.php file.

    Thread Starter ajoh00n

    (@ajoh00n)

    Do you mean htaccess perhaps?

    Do I need to change “SERVER_NAME”? Or will it do that automatically?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change parent multisite url (https)’ is closed to new replies.