Title: HTTPS links on HTTP sub-site
Last modified: June 15, 2017

---

# HTTPS links on HTTP sub-site

 *  Resolved [jrwstevenson](https://wordpress.org/support/users/jrwstevenson/)
 * (@jrwstevenson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/)
 * Hi!
 * Love the plugin, thanks for the good work.
 * I have a multi-site where the main site is https and the sub-sites are non secure
   http. When I use the shortcode [site-directory] to input the map, the all links
   provided are secure, even though all WordPress settings for my sub-sites are 
   correctly pointing to the non secure link.
 * I guessed this may have something to do with the get_site_permalink or get_site_url
   in includes/functions.php so changed it to get_home_url, but no change.
 * Are you able to help me?
 * Thanks for reading
    James

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9231738)
 * This sounds like a bug in WordPress core because this plugin doesn’t store or
   retrieve site URLs itself, but let me look into it to make sure. What version
   of WordPress core are you using?
 *  Thread Starter [jrwstevenson](https://wordpress.org/support/users/jrwstevenson/)
 * (@jrwstevenson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9231809)
 * Hi Meitar, thanks for getting back to me.
 * Recently upgraded to 4.8, however I noticed this in 4.7, just didn’t get round
   to questioning it.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9231833)
 * Okay, I’ll test on both versions then. I can’t say exactly when I will get to
   this but please pester me if I go radio silent for more than a few days.
 *  Thread Starter [jrwstevenson](https://wordpress.org/support/users/jrwstevenson/)
 * (@jrwstevenson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9231902)
 * Your time is appreciated. I’ll set a reminder to give you a poke next week, if
   I don’t hear back from you.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9232370)
 * [@jrwstevenson](https://wordpress.org/support/users/jrwstevenson/) It’s not a
   bug, apparently, it’s [just how WordPress works](https://developer.wordpress.org/reference/functions/get_site_url/#description).
   I’ll be adding support for the `scheme` parameter in this plugin’s `get_site_permalink()`
   wrapper function, but you will still be responsible for altering your template
   such that you correctly select HTTP for your sub-sites and HTTPS for your main
   site, depending on which site’s permalink you are linking.
 *  Thread Starter [jrwstevenson](https://wordpress.org/support/users/jrwstevenson/)
 * (@jrwstevenson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9233886)
 * Excellent! Thank you. I like to learn something new every day, and you have provided
   today’s newly acquired knowledge.
 * I look forward to the next update.

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

The topic ‘HTTPS links on HTTP sub-site’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multisite-directory.svg)
 * [Multisite Directory](https://wordpress.org/plugins/multisite-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multisite-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-directory/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [jrwstevenson](https://wordpress.org/support/users/jrwstevenson/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/https-links-on-http-sub-site/#post-9233886)
 * Status: resolved