This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using WPML with WooCommerce Multilingual and have noticed that translated WooCommerce product category slugs are redirected with a 302 status code instead of a 301 on separate domains per language/country. You are concerned about the SEO implications and whether it is safe to change these redirects to 301.
Solution:
We have confirmed that changing these specific WooCommerce product category redirects from 302 to 301 will not affect WPML's language negotiation, hreflang tags, canonical URLs, language switchers, or WooCommerce Multilingual functionality. It is safe to use a 301 (permanent) redirect for permanently changed category URLs to help search engines recognize them as such. Currently, there is no setting in WPML to automatically change these redirects to 301, but you can implement a custom solution using a PHP snippet. If you have an alternative PHP snippet that uses the
wp_redirect_status
filter, feel free to share it with us for review.
Please note that this solution might be irrelevant if it's outdated or not applicable to your specific case. 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 this does not resolve your issue, please open a new support ticket at WPML 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 15 replies, has 1 voice.
Last updated by 3 weeks, 6 days ago.
Assisted by: Paola Mendiburu.