Title: multisite https redirects to http home_url
Last modified: August 31, 2016

---

# multisite https redirects to http home_url

 *  Resolved [Dark Roast](https://wordpress.org/support/users/dark-roast/)
 * (@dark-roast)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/)
 * I have a multisite with subdomains. Worked like a charm.
 * Now I want (at least some of) the sites to use https.
    So my hoster installed
   a wildcard SSL certificate.
 * To start to move one site, I changed al http URLs of that site in the database
   to https.
    But the site stoped working: All URLs or links on https redirect to
   the home_url on http (so without SSL)
 * I read and tried different topics and tutorials. tried differnt subsites and 
   deinstalled all plugins and moved back to a default twentysomething theme. But
   nothing seams to work.
 * Did anyone had this problem, or can point me in the right direction?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410072)
 * Did you change the urls to https in Network Admin–Sites–edit an indiv site? Not
   just at the info tab, but also in Settings?
 * That might help you find any places where http is still lurking.
 * I _think _you should be able to do individual sites like you are proposing, but
   maybe the whole network needs to be https?
 *  Thread Starter [Dark Roast](https://wordpress.org/support/users/dark-roast/)
 * (@dark-roast)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410083)
 * Hey Bet, thanx for your reaction.
 * I changed the urls on the settingstab to https, but it didn’t make any difference.
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410084)
 * Have you verified that the wildcard SSL is installed correctly? Maybe create 
   a subdirectory folder in your hosting, and just put a plain html page there and
   see if it displays HTTPS?
 * If that works, what about forcing the whole network to be HTTPS in the wp-config?
   Even if that’s not what you want to do eventually, it might be a good test to
   see if it helps get some additional clues about where the problem is.
 * OR, maybe it’s not an SSL related problem at all, and really just related to 
   changing the domain/urls? This might offer a clue: [https://wordpress.org/support/topic/wordpress-multisite-sub-sites-all-redirect-to-the-main-site?replies=9](https://wordpress.org/support/topic/wordpress-multisite-sub-sites-all-redirect-to-the-main-site?replies=9)
 *  Thread Starter [Dark Roast](https://wordpress.org/support/users/dark-roast/)
 * (@dark-roast)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410085)
 * If I use the “Really Simple SSL” plugin ([https://wordpress.org/support/plugin/really-simple-ssl](https://wordpress.org/support/plugin/really-simple-ssl))
   I get a message saying ‘No SSL was detected’ but according to sites like [https://www.sslshopper.com/ssl-checker.html#hostname=ssltest.vrijebond.org](https://www.sslshopper.com/ssl-checker.html#hostname=ssltest.vrijebond.org)
   the certificat is installed correctly.
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410086)
 * I’ve only ever installed SSLs on single sites, so take all this with a grain 
   of salt. 🙂
 * You said you changed the urls to HTTPS in the database and on the settings tab
   in Network Admin. Have you checked in the subsite dashboard General, to make 
   sure that the WordPress Address (URL) and the Site Address (URL) are both HTTPS?
 * Also, have you tried explicitly redirecting the subsite in question via htaccess
   rules?
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410087)
 * Hey!
 * If in SSH, you:
    `curl -I https://subsite.mainsite.com/`
 * and you still see the redirect, there may be http urls that havn’t gotten changed.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410088)
 * You can also check via your network dashboard. If the sub-site in number 5 then
   looks at that site’s edit page.
 *     ```
       http://mainsite.com/wp-admin/network/site-info.php?id=5
       ```
   
 * And confirm that the `Site Address (URL)` has `https://subsite.mainsite.com/`
   which should be the case.
 * If that doesn’t work then looking at the curl output may help.
 * For example on my subsite with a valid TLS cert:
 *     ```
       $ curl -I https://subsite.mainsite.com/
       HTTP/1.1 200 OK
       Server: nginx/1.10.0
       Date: Sat, 28 May 2016 20:02:18 GMT
       Content-Type: text/html;charset=UTF-8
       Content-Length: 41076
       Connection: keep-alive
       Last-Modified: Sat, 28 May 2016 13:21:50 GMT
       ```
   
 * Which is what I expected. But if the URLs didn’t match up then I’d expect something
   like this.
 *     ```
       $ curl -k -I https://subsite.mainsite.com/
       HTTP/1.1 302 Found
       Server: nginx/1.10.0
       Date: Sat, 28 May 2016 20:03:45 GMT
       Content-Type: text/html; charset=UTF-8
       Location: https://mainsite.com/wp-signup.php?new=subsite
       ```
   
 * I’m using nginx but the same results should happen with Apache2.
 *  Thread Starter [Dark Roast](https://wordpress.org/support/users/dark-roast/)
 * (@dark-roast)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410113)
 * Hey all,
    Thanx for all the reactions. Here a little update:
 * I tried all your suggestions among other things and I couldn’t find the problem.
   In the end I was pretty sure it couldn’t be a WordPress problem, so I approached
   my hosting one more time, asking to check his settings once again (after he assured
   my everything was set correctly)
    So finally he found out he had put a wrong 
   rewrite rule somewhere. Whch caused all rouble.
 * So no WordPress problem, but reolved after all. Thanx

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘multisite https redirects to http home_url’ is closed to new replies.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 8 replies
 * 3 participants
 * Last reply from: [Dark Roast](https://wordpress.org/support/users/dark-roast/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-https-redirects-to-http-home_url/#post-7410113)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
