BUG: WPML using 2 differents URL for languages + WOO Commerce

#375130
  • Resolved Jacques Languedoc
    Rank Math free

    I’m hitting a bug causing an infinite redirect loop if you use Rank Math on a WordPress/WooCommerce install with WPML where different URLs are configured per language.

    Ex: laurincontainers.com -> English Version
    laurinconteneurs.com -> French Version (default language)

    When Rankmath WooCommerce “remove the base” and/or “Remove category base” options are enabled, the default language is working fine, but the second language is being sent to a loop.

    So all products are accessible and the base is removed in the default language but it’s impossible to switch and see the products in the other language when the “Remove Base/Category” option is checked.

    Please advise if there is a workaround.

    Thanks

    J

Viewing 1 replies (of 1 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with your WPML URL rewrite rules.

    The setting for translation product/category bases is handled by WMPL. You need to change the setting for each language for the redirection to work. Please navigate to WordPress Dashboard > WooCommerce > WooCommerce Multilingual and under the Store URLs correct all the languages so they don’t include the product base.

    Hope that helps. Please let us know if you have questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘BUG: WPML using 2 differents URL for languages + WOO Commerce’ is closed to new replies.