Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

Premmerce Permalink Manager allows you to set a non-standard product permalinks.

- Normal WooCommerce permalinks look like: /product/sample-product/
- The ones that Premmerce Permalink Manager set allow you to remove the product base: /sample-product/
However, this causes issues in the secondary language as WooCommerce Multilingual still uses either a translated product base or original product base in the URL.

Solution:

Follow the workaround from this page https://wpml.org/errata/premmerce-permalink-manager-using-product-slug-for-product-permalink-works-only-on-default-language/

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Jerzy Afanasjew 1 year, 6 months ago.

Assisted by: Ahmed Mohammed.

Author Posts
May 21, 2023 at 6:24 am #13683733

Jerzy Afanasjew

Tell us what you are trying to do?

I used a different plugin to remove /product/ from my webshop urls. It works on default english version, but my Polish domain protestkit.pl urls are redirected to default permalink structure by WPML. How do I fix this?

Please see hidden link

What is the link to your site?

protestkit.eu (permalink structure without /product/) , protestkit.pl (default permalink structure)

May 21, 2023 at 6:27 am #13683735

Jerzy Afanasjew

and to compare hidden link (click lookup to show redirections)

May 22, 2023 at 10:51 am #13688611

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi there,

Thank you for contacting WPML support!

I understand you're using a plugin to trim the WooCommerce product base permalink. And while it works in the default language, it does not work with the translated products.

I checked the website's debug information and found multiple plugins that somehow related to redirections and WooCommerce permalinks.

To be able to check this compatibility issue, I created the following sandbox website: hidden link

Please use that quick login URL to log in to the website and install the affected plugin and replicate the issue so that we can check what is happening.

Looking forward to hearing back from you.

May 22, 2023 at 11:08 am #13688797

Jerzy Afanasjew

thank you for getting back to me,

hidden link

hidden link

May 22, 2023 at 4:20 pm #13692711

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi there,

Thank you for reproducing the issue on the sandbox website.

It looks like you're using "Premmerce Permalink Manager for WooCommerce" to trim the product base.

The issue has been reported to the plugin's developer, and we're still waiting for a response. In the meantime, you can use the workaround explained here: https://wpml.org/errata/premmerce-permalink-manager-using-product-slug-for-product-permalink-works-only-on-default-language/.

Hope that helps 🙂