Qtranslate Slug
[resolved] can I use qT-slug to write META-tags in the HTML-head? (3 posts)

  1. C S
    Posted 3 years ago #

    I would like to add a <link> element to my HTML head which specifies the correct URL to an alternate language version of the current page:
    <link rel="alternate" hreflang="de" href="http://www.example.com/de/" />

    I have the idea how to code this, but when the loop starts to build my page, it does not (yet) know the qTs function names so my script don't work.

    Is there a way to "earlier" activate qTs?

    I achieve to write the 3 needed URLs in the <body>, but that's too late :(


  2. Carlos
    Plugin Author

    Posted 3 years ago #

    I recently closed this issue, that exposes your problem. Try to update the developing version.

  3. C S
    Posted 3 years ago #

    Perfect. That works out of the box.

    Many many thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Qtranslate Slug
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.