Title: HTTPS prefix missing in hreflang tag URLs
Last modified: March 8, 2018

---

# HTTPS prefix missing in hreflang tag URLs

 *  Resolved [antilooper](https://wordpress.org/support/users/antilooper/)
 * (@antilooper)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/https-prefix-missing-in-hreflang-tag-urls/)
 * I’ve just set up this plugin, and mostly working well.
 * Both domain versions of my site use HTTPS URLs everywhere (working for everything
   else, not seeing “http” links anywhere else in generated/content code)
 * However the hreflang tags that are being generated from by this plugin are missing
   the https protocol prefix altogether:
 *     ```
       <link rel="alternate" hreflang="x-default" href="example.com/"/>
       <link rel="alternate" hreflang="en-AU" href="example.com.au/"/>
       ```
   
 * Are these tags working with HTTPS URLs for other people using this plugin? I’m
   guessing not… as I had a look in multiple-domain.php – and the URLs in there 
   just begin with $this->originalDomain it looks like the plugin doesn’t take HTTPS
   into account here?

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

 *  [kashmiri](https://wordpress.org/support/users/kashmiri/)
 * (@kashmiri)
 * [8 years ago](https://wordpress.org/support/topic/https-prefix-missing-in-hreflang-tag-urls/#post-10307046)
 * The tags are not working here, either. I bypassed the problem by prefixing the
   mapped domains with `https://`, but this still does not help with the default
   domain missing the protocol.
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [8 years ago](https://wordpress.org/support/topic/https-prefix-missing-in-hreflang-tag-urls/#post-10320703)
 * Hello! I’ve just updated the plugin based on latest contributions. The version
   0.7 should fix the SSL problem. Please let me know if it doesn’t.

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

The topic ‘HTTPS prefix missing in hreflang tag URLs’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain/assets/icon-256x256.png?rev=2502840)
 * [Multiple Domain](https://wordpress.org/plugins/multiple-domain/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/https-prefix-missing-in-hreflang-tag-urls/#post-10320703)
 * Status: resolved