Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author chsxf

    (@chsxf)

    Hi,

    Can you tell me what version of WordPress and mqTranslate you are using?

    Plugin Author chsxf

    (@chsxf)

    And the functional qTranslate version too by the way

    Thanks

    Thread Starter hm_u

    (@hm_u)

    here are the info:
    Wordpress 3.9
    mqTranslate 2.9.3
    qtranslate 2.5.39

    Actually, I’ve just found the culprit. I was using the following code in my functions.php file to correct the faulty behavior of qTranslate when clicking the logo. Without that correction, a click would redirect people to the default language. It seems to be unnecessary with mqTranslate (and actually buggy), but the website works when removing it:

    // Make the header link translated by QTranslate
    function twentyeleven_home_url( $url ) {
    	return qtrans_convertURL($url);
    }
    if ( function_exists( 'qtrans_convertURL' ) ) {
    	add_filter( 'home_url', 'twentyeleven_home_url' );
    }

    So i’m marking that as resolved for me even if there might still be a bug somewhere.
    Thanks for your plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 on non-default language’ is closed to new replies.