qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
553 stars 104 forks source link

WooCommerce & qTranslate-X: 404 Not Found error #477

Open herrvigg opened 6 years ago

herrvigg commented 6 years ago

Issue by kerekesz Monday Jan 23, 2017 at 13:30 GMT Originally opened as https://github.com/qTranslate-Team/qtranslate-x/issues/477


Hello!

I'm working on a new site (http://munkak.dentoweb.hu/weboldal/l-creation) and i use qTranslate-X 3.4.6.8, WooCommerce & qTranslate-X 1.3 and WooCommerce 2.6.13 plugins on it. the wordpress version is 4.7.1. The default language is Hungarian.

I have a problem when i switch the language to English and i click a submenu of Bolt (Shop) menu. I get a 404 Page Not Found error.

But if i click a submenu of Bolt menu when i'm in default, Hungarian language, then i switch to english, the content is appear right.

And this is the situations with the product pages too.

Thanks for your help!

Best regards, Zoltán

herrvigg commented 6 years ago

Comment by VaLeXaR Monday Jan 23, 2017 at 14:07 GMT


@kerekesz try to install plugin from this repo. This is latest version.

herrvigg commented 6 years ago

Comment by kerekesz Monday Jan 23, 2017 at 15:12 GMT


Thanks @VaLeXaR!

I updated the qTranslate-X and WooCommerce & qTranslate-X plugins but the problem is still remain.

I've noticed that the problem comes when i change the language to english and the "termekkategoria" part of url changes to "product-category".

http://munkak.dentoweb.hu/weboldal/l-creation/en/termekkategoria/formatum/konyvek/ --> http://munkak.dentoweb.hu/weboldal/l-creation/en/product-category/formatum/konyvek/

herrvigg commented 6 years ago

Comment by VaLeXaR Monday Jan 23, 2017 at 18:22 GMT


@kerekesz qTranslate don not have different slugs for page. So, url don change by default. Just adding lang prefix to url. I did switch languages on your site and not saw the ploblem.