Support » Plugin: WordPress HTTPS (SSL) » Forcing SSL on multisite with subdomains

  • Resolved tacoberry

    (@tacoberry)


    I’ve recently installed SSL on my multisite setup that’s using different subdomains. I’ve managed to get all the sites to use https through the network admin settings for each separate site, and updated all of my theme and plugin files and site content to use https URL’s.

    Now I’m facing two issues:

    – I need all my old http URL’s to be 301 redirected to the new https URL’s for all of the different subdomains on my site.
    – I’m unable to to change the URL settings for my main site (example.com) through the network admin since all site URL fields are greyed out. I can’t change the settings for the homepage URL from http://example.com for instance.

    How can the WordPress HTTPS (SSL) plugin help me fix these problems?

    https://wordpress.org/plugins/wordpress-https/

Viewing 1 replies (of 1 total)
  • I’ve managed to solve both of my issues without the WordPress HTTPS (SSL) plugin, but thought I’d share my solutions here:

    Redirecting old http URL’s to new https URL’s

    I’ve added these rules to my .htaccess file to get all subdomains and pages 301 redirected to their new https URL’s:

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

    Changing URL settings for main site

    I went into phpMyAdmin and changed the URL settings for my main blog in the wp_options table for the main site.

Viewing 1 replies (of 1 total)
  • The topic ‘Forcing SSL on multisite with subdomains’ is closed to new replies.