I installed this plugin, added one team member. Nothing break so far. Please, give me step-by-step instructions how to reproduce what you see. Thanks.
P.S. Which multilingual plugin did you use before, if any?
Thanks for looking into this! I think it might not even be our team nor qtranslate-x but qtranslate-slug that’s the culprit here, I can’t seem to make them work together in any case. It might be different independent bugs (or just my plain ignorance), so I’ll try to explain as detailed as possible what has occured to me.
I didn’t use any multilingual plugin before, so this is a clean qtranslate-x installation.
All pages and menus are working now, except the one that is rendered by our team plugin. This is actually an empty page with a different template file where this is loading the content:
<?php do_action( 'woothemes_our_team', array(
'orderby' => menu_order,
'order' => ASC,
'per_row' => 3,
'limit' => 100 )
);
?>
The page is showing fine in the default language, but I get the redirect error from my first post. I can’t really tell you step by step because I didn’t build the site but only tried to implement qtranslate-x.
Here’s some hints that might help: This only happens with
Use Pre-Path Mode (Default, puts /en/ in front of URL). SEO friendly.
, if I
Use Query Mode (?lang=en). Most SEO unfriendly, not recommended.
, the page loads fine.
If I install qtranslate-slug, it also works with pre-path-mode, but I can’t have the same slug (team should be used in german and english) in both languages. That might be a bug in qtranslate-slug.
Don’t know what else could be helpful, let me know.
Plugin Author
Gunu
(@grafcom)
@heliogabal23,
the problem is still there?
but qtranslate-slug that’s the culprit here, I can’t seem to make them work together in any case.
You use qTranslate Slug, read this post.
Best
@gunu,
well, I gave up and uninstalled qtranslate-slug, now at least I can have both /team and /en/team show correctly. Of course, that leads to the other slugs not being translated, so I get /kompetenz and /en/kompetenz, which is not perfect for SEO purposes, but for now I can live with that.
It has the nice added benefit that I don’t even have to change the links in the translated version, as qtranslate X is smart enough to redirect to the right language.
Still looking forward to a compatible version / merge, as I think for a full blown localization solution it is absolutely necessary to be able to have both the possibility to have the same slug on different languages as well as being able to localize the slugs.
But looking at the tremendous work you already did with qtranslateX, I am confident that there is going to be a solution to this sooner or later. Thanks for this well-thought through, complex but simple to handle plugin!
Plugin Author
Gunu
(@grafcom)
@heliogabal23,
try the update Qtranslate Slug with our latest Beta version download here