Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lovrom23

    (@lovrom23)

    To further elaborate – if the English version of the site didn’t have “product” in its permalink slug, but instead “proizvod” everything would be working fine.

    Example: https://weloveshoes.hr/en/proizvod/espadrilles-on-a-braided-platform-big-star-aa274680-grey/ (working)

    https://weloveshoes.hr/en/product/espadrilles-on-a-braided-platform-big-star-aa274680-grey/ (404 error)

    I couldn’t change that setting anywhere and it was working just a few weeks ago without a problem.

    Thread Starter lovrom23

    (@lovrom23)

    I changed redirects on server side to go from /en/product to /en/proizvod and not it’s working. But this is temporary solution. What can be done from plugin itself?

    Hi,

    Make sure you have pretty permalinks enabled and working. https://wordpress.org/support/article/using-permalinks/#using-pretty-permalinks

    If you don’t know how to enable that or have another reason for using it, checkout this addon: https://translatepress.com/docs/addons/language-get-parameter/

    I know they are not working correctly because WordPress normally takes over 404 pages and serves a nice error for the user. Your 404 error page comes directly from the server, meaning it’s not configured properly.

    Please note Pretty Permalinks require configuration on the server side for it to work. It’s possible you either don’t have Mod Rewrite for Apache enabled or WordPress can’t write it’s .htaccess file with the rewrite rules. Please try to contact your host to debug this further.

    Best Regards,

    Thread Starter lovrom23

    (@lovrom23)

    Hi @andrei202 ,

    Thank you for your reply.
    Server side is configured correctly as I checked with the support team (Kinsta server).

    Also, the 404 has a nice error for the user, you can check the image here:
    https://ibb.co/HVwXrPT

    Now you can’t test the permalinks as I’ve set the redirects. But anyways this seems to be a plugin problem, it translated part of the word in permalink and that link became unreachable. Any ideas to solve this because my redirect solution is just a workaround?

    Hey there,

    If ou think that part of the permalink is being translated one solution might be adding it to the Exclude strings from automatic translation. You can find it under the Advanced tab in Translatepress settings.

    Let me know if this work for you.

    Regards,

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

The topic ‘404 Error on product pages’ is closed to new replies.