Title: wp_enqueue_script conflict with Polylang
Last modified: August 31, 2016

---

# wp_enqueue_script conflict with Polylang

 *  [dimizu](https://wordpress.org/support/users/dimizu/)
 * (@dimizu)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-conflict-with-polylang/)
 * I use this code in my functions.php to load an external script. This script requires
   GET paramaters. The code in the functions.php is:
 * `wp_enqueue_script( 'scriptx', 'http://xxxxxxx.xxx.xx/xxx/widget/?widgetid=xxxxx&
   language=xx&companyid=xxxxxxxxxxxxxxxxxxxxx',array('jquery') );`
 * This works fine if Polylang is disabled. When I activate Polylang then the script
   will still be loaded, but it no longer process the GET parameters language an
   companyid. It looks that Polylang change the URL. Can I prevent it?
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

The topic ‘wp_enqueue_script conflict with Polylang’ is closed to new replies.

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

## Tags

 * [get](https://wordpress.org/support/topic-tag/get/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * 0 replies
 * 1 participant
 * Last reply from: [dimizu](https://wordpress.org/support/users/dimizu/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/wp_enqueue_script-conflict-with-polylang/)
 * Status: not resolved