Skip to content Skip to sidebar

Resolved

Reported for: WPML Multilingual & Multicurrency for WooCommerce 4.10.3

Resolved in: 4.11.0

Overview of the issue

WPML Multilingual & Multicurrency for WooCommerce generates a link with the parameter ?clang=all. Ideally, this URL would not be indexed by Google, but it is crawlable by default.

Workaround

  1. Make a full backup of your site.
  2. Edit this file: wp-content/plugins/woocommerce-multilingual/inc/class-wcml-comments.php
  3. Look for the Line 207.
    • Change:
      echo '<p><a id="lang-comments-link" href="' . $comments_link . '">' . $comments_link_text . '</a></p>';
    • To:
      echo '<p><a id="lang-comments-link" href="' . $comments_link . '" rel="nofollow">' . $comments_link_text . '</a></p>';