Support » Plugin: Multiple Domain » HTTPS prefix missing in hreflang tag URLs

  • Resolved antilooper

    (@antilooper)


    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)
  • 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 Author Gustavo Straube

    (@gustavostraube)

    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.