WordPress.org

Ready to get started?Download WordPress

Forums

How to make Page-Links-To work with qTranslate (2 posts)

  1. Skymone
    Member
    Posted 2 years ago #

    Hi,
    I've set up a company webpage with wordpress as cms, and it's working very nicely. I have 4 languages on the webpage, which I'm handling with qTranslate. With most plugins, it works flawlessly, however with page-links-to doesn't natively work. I've been googling around and found that in older versions of both wordpress, qtranslate and page-links-to, people have been able to hack their way to make it work. I've tried a bit, but so far I haven't had any luck.
    I'm not a php wizard. I'm able to change a few things here and there, but I never quite understood php in a way that I can see what to change or how to do it.
    So my question is, does anyone have a hack that could fix this?

    I'm able to make it post links as /wp/key-technologies/the-rotor-is-the-motor/?lang=<!--:en-->en<!--:--><!--:da-->da<!--:--><!--:de-->de<!--:--><!--:sp-->sp<!--:-->, but it just picks the default language. I need some way to make it see what the current language is, and then take only that part of the link to show (e.g. /wp/key-technologies/the-rotor-is-the-motor/?lang=da)

    Alternatively, if there's another redirect plugin that does this, my problem can be solved just like that, too.

  2. dadvan
    Member
    Posted 1 year ago #

    I have this same challenge. I was using the Quick Page/Post Redirect Plugin

Topic Closed

This topic has been closed to new replies.

About this Topic