Support » Plugin: TranslatePress - Translate Multilingual sites » Broken links driving me CRAZY!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    The product slug translation comes directly from the WooCommerce. The plugins have these translations in.po/.mo files already and TranslatePress just trigger them when you switch the language.

    However, the problem is because you have /index.php as part of the pretty permalinks. Those are called “almost pretty permalinks” and we have no support for them: https://wordpress.org/support/article/using-permalinks/#pathinfo-almost-pretty
    If possible, try to enable full pretty permalinks and try again.
    Please note, we don’t have plans of supporting this in the future.

    Thread Starter whitefeatherproductionsllc

    (@whitefeatherproductionsllc)

    I didn’t seem to be able to change the permalink structure in any way that worked.

    Editing the product permalink resulted in all products in all languages having broken links.

    The only thing that worked was changing the permalink to show the shop root as the link with the products occurring directly after the word “shop” in the link. (in other words, now product permalinks show as

    mysite/shop/productname

    rather than

    mysite/shop/product/productname

    Now, the product links work because no underlying file is trying to translate product into producto, but it’s not really a fix because I don’t know when or if it’s going to suddenly start trying to translate “shop” into “tienda” and I’m back at square one.

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    We recommend choosing the post name structure for your permalinks and the default one for WooCommerce permalinks.
    Those are the used on most sites because it’s simple and keeps your URL as short as possible.

    The 404 error is treated also on our troubleshooting page -> “404 error when accessing a translated page” section: https://translatepress.com/docs/troubleshooting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.