• Hello,

    I’d like to ask your help in the following issue. I recently deployed a site with the latest version of WP (4.4.2) and Woocommerce (2.5.5).
    I’ve created 3 languages and I found the following problem:
    When I create a category than I add product(s) in it, only the link with the default language is working, when I switch to the 2 other languages, I receive a 404 when I’m trying to open the product page.

    I setted “normal” in permalinks.
    The product listing works fine with all languages.

    Here is an example:

    Hungarian product link: mywebsite/?product=lego-ember&language=hu
    Italian product link: mywebsite/product/lego-figura?language=it
    English product link: mywebsite/product/lego-figure?language=en

    As you can see it replaces the positions of the “?” and “&” in the link.

    Could you please give me an advise how can i fix it?

    Thank you!

    https://ww.wp.xz.cn/plugins/sublanguage/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author maximeschoeni

    (@maximeschoeni)

    Hello,

    Sorry, I cannot reproduce this bug on my installation. Do you have any other plugin installed (especially dealing with permalink rewrite) ?

    Why did you set permalink to “normal” ? Is it just for test or is it the way you want it to work?

    Can you try the following in the permalink setting page:
    – Set permalink to “post name”
    – Enter something for “Product category base” (can be the same as default but it needs to be overwritten)
    – Enter something on “Custom Base”, in “product permalink” section (idem)
    Does it work that way?

    Thread Starter attilamarosi

    (@attilamarosi)

    Hello,

    thank you for your reply. So the permalinks setting was in “plain” and there’s no any plugin installed which can modify the permalinks. I made the settings as you advised and it makes a different error now. When I click on a product, the browser starts jumping between the 3 products name in the link than the browser stops with an error: Failed to open page.

    I try to recreate the categories and products, hopefully it’ll work…

    Regards,
    Attila

    Thread Starter attilamarosi

    (@attilamarosi)

    Issue solved! Big thank you!
    After I’ve deleted all the products and categories , the following setup made:
    – Permalinks: “Post name”
    – Product Category Base
    – Product Tag Base
    – “Custom Base” – with a value at product permalinks.

    Under category properties I gave the same name for Term on all languages.

    Only one thing left: under the product detailed page, I made the product description on all languages, but it doesn’t change, even though the short description is working…

    Regards,
    Attila

    Plugin Author maximeschoeni

    (@maximeschoeni)

    You mean it just doesn’t work on the front-end? What theme do you use?

    Thread Starter attilamarosi

    (@attilamarosi)

    yes, on the front-end and I use flatsome template

    Plugin Author maximeschoeni

    (@maximeschoeni)

    If you send me the theme files I can check whats wrong with it. Please mail me to [email protected].

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Woocommerce product link problem’ is closed to new replies.