WordPress.org

Forums

mqTranslate
[resolved] Double language tags (3 posts)

  1. lagunas
    Member
    Posted 1 year ago #

    Hi!
    I recently migrated from qTranslate to mqTranslate, and now I'm seeing double language tags on the URL when I use bloginfo('url'); and pre-path mode.

    Somebody was having a similar problem here, a couple of months ago:
    http://wordpress.org/support/topic/double-translate-tag?replies=3

    I have the latest version of the plugin, but the issue persists.
    Please let me know if this will be fixed in the near future, or if there's anything I can do on my end to fix it.
    Thanks a lot!

    https://wordpress.org/plugins/mqtranslate/

  2. chsxf
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Try replacing bloginfo('url'); by echo esc_url(home_url());

  3. lagunas
    Member
    Posted 1 year ago #

    Excellent!
    It works perfectly now. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic