Title: WPML path issue
Last modified: August 10, 2022

---

# WPML path issue

 *  Resolved [doublemarvellouscork](https://wordpress.org/support/users/doublemarvellouscork/)
 * (@doublemarvellouscork)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wpml-path-issue/)
 * Hi there – this may me a simple one, I’m not sure. I notice that the shortcodes
   don’t work when there’s a /path/ in the domain – such as a language subsite. 
   I am using WPML with country paths such as uk, de etc. so it would be domain.
   com/country/
 * I notice errors like this:
    message: “Unexpected end of JSON input”type: “error”
   [Prototype](https://codex.wordpress.org/Prototype): Object onError @ vendors-
   public.8a5cae01.min.js?ver=1645721612:2
 * /nl/wp-json/shopwp/v1/query/products:1
 * Failed to load resource: the server responded with a status of 404 ()
 * So it looks like the country path ‘/nl/’ is killing it as it ca’t see the plugin
   files. Anything I can do about this?
 * Thanks
    B
    -  This topic was modified 3 years, 10 months ago by [doublemarvellouscork](https://wordpress.org/support/users/doublemarvellouscork/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwpml-path-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [andrewmrobbins](https://wordpress.org/support/users/andrewmrobbins/)
 * (@andrewmrobbins)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wpml-path-issue/#post-15905058)
 * It looks like this is the URL that the plugin is trying to use to fetch the products:
 * `https://staging-wwwactiveironcom.kinsta.cloud/nl/wp-json/shopwp/v1/query/products`
 * The problem is the `/nl/` in the URL. That won’t resolve to a valid ShopWP callback.
 * Are you able to “turn off” your translation plugin for the WordPress REST API
   urls?
 *  Thread Starter [doublemarvellouscork](https://wordpress.org/support/users/doublemarvellouscork/)
 * (@doublemarvellouscork)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wpml-path-issue/#post-15908883)
 * Thanks! It seems it was a common issue in WPML that was fixed in a version later
   than mine, I have upgraded it and it’s sorted. Thanks for the support!
 *  Plugin Author [andrewmrobbins](https://wordpress.org/support/users/andrewmrobbins/)
 * (@andrewmrobbins)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/wpml-path-issue/#post-15909313)
 * Excellent, glad you got it working.
 * LMK if you need anything else.

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

The topic ‘WPML path issue’ is closed to new replies.

 * ![](https://ps.w.org/wpshopify/assets/icon.svg?rev=2740857)
 * [ShopWP](https://wordpress.org/plugins/wpshopify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpshopify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpshopify/)
 * [Active Topics](https://wordpress.org/support/plugin/wpshopify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpshopify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpshopify/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [andrewmrobbins](https://wordpress.org/support/users/andrewmrobbins/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/wpml-path-issue/#post-15909313)
 * Status: resolved