Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where Swedish product category URLs on their WooCommerce site are incorrectly using the English category base '/collections/' instead of the Swedish '/product-category/' base after updating the WooCommerce Shop page. This resulted in 404 errors for Swedish URLs while English URLs under '/en/collections/' were unaffected.
Solution:
We recommended that the client updates their WPML Multilingual CMS to the latest version along with all its add-ons, particularly WPML Multilingual & Multicurrency for WooCommerce, and also update WooCommerce itself. This can be done via the WPML admin panel by navigating to wp-admin/plugin-install.php?tab=commercial, clicking on "Check for updates", and following the update prompts. After updating, the client should remove any .htaccess workarounds, resave permalinks, and clear the site cache to see if the issue persists.

If this solution does not resolve the issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem continues, please open a new support ticket at our support forum.

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.

This topic contains 1 replies, has 0 voices.

Last updated by deepakS-9 1 week, 2 days ago.

Assisted by: Bruno Kos.

Author Posts
September 15, 2025 at 5:29 pm #17403603

deepakS-9

Background of the issue:
I am trying to resolve an issue where the Swedish (default) product category URLs on my WooCommerce site are incorrectly using the English category base '/collections/' instead of the Swedish '/product-category/' base. This issue started after updating the WooCommerce Shop page. Here is the earlier ticket for the same issue: https://wpml.org/forums/topic/split-found-sometimes-its-showing-404-error-for-english-version-of-categories/. The domain is hidden link. I have temporarily fixed the issue using a URL redirect in the .htaccess file: # If URL starts with /collections/ and is NOT the English path RewriteCond %{REQUEST_URI} ^/collections/ RewriteCond %{REQUEST_URI} !^/en/collections/ RewriteRule ^collections/(.*)$ /product-category/$1 [R=302,L].

Earlier Andrey https://wpml.org/forums/users/andrey-k/ - helped me to fix this issue.

Symptoms:
After updating the WooCommerce Shop page, all Swedish product category URLs started resolving against the English category base '/collections/' instead of the Swedish '/product-category/' base, resulting in 404 errors. The English category URLs under '/en/collections/' still work.

Questions:
How can I fix the issue of Swedish product category URLs using the English base without relying on .htaccess redirects?
Why did updating the WooCommerce Shop page cause the Swedish URLs to use the English category base?

September 17, 2025 at 6:48 am #17408203

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I can see that you are still using WPML Multilingual CMS 4.7.6. Can you go to wp-admin/plugin-install.php?tab=commercial, click "Check for updates" and update WPML and all its addons (especially WPML Multilingual & Multicurrency for WooCommerce)? Also, can you update WooCommerce on your site?

Remove the htaccess workaround you did after this, resave permalinks and clear the site cache.

Is the issue still there?

September 17, 2025 at 9:17 pm #17411248

deepakS-9

Hello Bruno Kos,

Thanks a lot, I have updated the WPML Plugin and its add-ons as advised. Now, it seems all working again.

Best Regards,
Deepak