Title: Cusrev shortcode and WPML
Last modified: July 31, 2024

---

# Cusrev shortcode and WPML

 *  Resolved [GoGoNano](https://wordpress.org/support/users/digitaltrade/)
 * (@digitaltrade)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/)
 * Hi,
 * I have question about cusrev shortcode. Whenever I use it within blog post or
   for custom page, it does display reviews fine but with WPML the product links
   under the reviews are kind of broken and leads to 301 redirect.
 * Is there any workaround or suggestions for this? The idea is that if I use cusrev
   shortcode to display reviews, the product link under the reviews would redirect
   to correct page depending on the website language.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcusrev-shortcode-and-wpml%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [pear8398](https://wordpress.org/support/users/pear8398/)
 * (@pear8398)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-17930035)
 * Hi,
 * Thank you for using CusRev.
 * I try to reproduce the issue on our demo site but the product URL in the translation
   language works correctly in the shortcode review section.
 * On your site, I notice that the product URL in the review section in English 
   language is
    [https://www.gogonano.com/tooted/top-silk-window-cleaning-cloth/?lang=en](https://www.gogonano.com/tooted/top-silk-window-cleaning-cloth/?lang=en)
   while it should be [https://www.gogonano.com/product/top-silk-window-cleaning-cloth/?lang=en](https://www.gogonano.com/product/top-silk-window-cleaning-cloth/?lang=en)
 * the product base slug isn’t correct. You can try to remove the review section
   and re-add it, clear all cache and check the issue again.
 *  Thread Starter [GoGoNano](https://wordpress.org/support/users/digitaltrade/)
 * (@digitaltrade)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-17934684)
 * Hi,
   Thank you for the reply. I tried to remove the section and re-add with cache
   clearing but the slug still is wrong.I’m using short code cusrev_reviews_grid
   to display reviews. Using product ID that is assigned to Estonian product. That’s
   why the slug is in Estonian “tooted”. Its wierd that the slug is not changed 
   according to site language.When language is changed, the product name is changing
   but the slug stays based on included product. So if I add Estonian product ID
   the product base slug stays in Estonian. Something is not right. Maybe I’m displaying
   them somehow wrong or is there conflict between WPML?
 *  Thread Starter [GoGoNano](https://wordpress.org/support/users/digitaltrade/)
 * (@digitaltrade)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-17953206)
 * Checking in if there has been any update about this issue? I have tried everything
   but it seems like the URL base slugs does not get translated.
 *  Thread Starter [GoGoNano](https://wordpress.org/support/users/digitaltrade/)
 * (@digitaltrade)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-17991193)
 * Tried again to remove the shortcode for reviews and cleared the cache. The issue
   still remains. The URLs base is not correct on linked product. It should show
   original product link where review was added(in original language). Or link to
   product with currently chosen language. Right now it kind of messes up. When 
   original language is chosen some of the links are correct but if the review was
   added under different language, it again messes up the link.
   Have there been 
   any similar issues reported with WPML?
 *  Plugin Support [pistachio6321](https://wordpress.org/support/users/pistachio6321/)
 * (@pistachio6321)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-17995429)
 * Thanks for providing additional information.
 * Our plugin uses the standard WordPress function [https://developer.wordpress.org/reference/functions/get_permalink/](https://developer.wordpress.org/reference/functions/get_permalink/)
   to retrieve URL of a product to display in the shortcode. WPML should be modifying
   the standard behavior of the get_permalink function according to the language
   of the website. And, WPML seems to be doing it correctly on our test site.
 * As the next step of troubleshooting, you might want to reach out to the WPML 
   team, share with them the information above, and ask to have a look at this problem.
   Please keep this topic updated with any further information.
 *  Plugin Support [bagel1317](https://wordpress.org/support/users/bagel1317/)
 * (@bagel1317)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-18024920)
 * We haven’t heard from you for more than two weeks. For this reason, I’ll assume
   that either you are not interested in this question/problem anymore or it has
   been resolved. If you still require any help, please start a new forum topic.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cusrev shortcode and WPML’ is closed to new replies.

 * ![](https://ps.w.org/customer-reviews-woocommerce/assets/icon-256x256.png?rev
   =2532349)
 * [Customer Reviews for WooCommerce](https://wordpress.org/plugins/customer-reviews-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customer-reviews-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customer-reviews-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customer-reviews-woocommerce/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [bagel1317](https://wordpress.org/support/users/bagel1317/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/cusrev-shortcode-and-wpml/#post-18024920)
 * Status: resolved