# Wrong Dolibarr Root URL / WooSync

**URL:** <https://www.dolibarr.org/forum/t/wrong-dolibarr-root-url-woosync/23909>\
**Category:** DoliStore's external modules\
**Created:** [June 25, 2023, 6:58pm UTC](https://www.dolibarr.org/forum/t/wrong-dolibarr-root-url-woosync/23909 "2023-06-25T18:58:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpb](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@cpb](https://www.dolibarr.org/forum/u/cpb)\
**Post date:** [June 25, 2023, 6:58pm UTC](https://www.dolibarr.org/forum/t/wrong-dolibarr-root-url-woosync/23909/1 "2023-06-25T18:58:11Z")

</div>

Hi Everyone,

I am trying to configure WooSync and I am stumbling over a problem that is probably not related to the plugin itself (but more a global Dolibarr configuration problem).

Dolibarr is installed and running perfectly on [mydomain.com/dolibarr/htdocs/index.php](http://mydomain.com/dolibarr/htdocs/index.php)

I install the WooSync Plugin and try to configure it - all good here BUT if I try to do a test connection this happens:

[https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/www.mydomain.com/wp-json/](https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/www.mydomain.com/wp-json/)

So some global configuration attaches the string “[https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/](https://www.mydomain.com/dolibarr/htdocs/custom/ecommerceng/admin/)” in front of the working URL?

Fiddling around with the conf.php file did not resolve the problem - Is there a global parameter in Dolibarr that I need to change to get it working?

I would highly appreciate if you could direct me to a possible solution to this problem?

Thanks for your help.

Best regards,  
Chris.

---

<div class="post-metadata">

**Author:** ![colby](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/c/d07c76/32.png) [@colby](https://www.dolibarr.org/forum/u/colby)\
**Post date:** [August 6, 2023, 5:14pm UTC](https://www.dolibarr.org/forum/t/wrong-dolibarr-root-url-woosync/23909/2 "2023-08-06T17:14:48Z")

</div>

Jumping on this thread because I am experiencing what i believe to be the same issue.  
I add [mydomain.com/wp-json/wc/v3/](http://mydomain.com/wp-json/wc/v3/)  
to the config and it transmutes it to  
[mydomain.com/wp-json/wc/v3/wp-json/](http://mydomain.com/wp-json/wc/v3/wp-json/)  
The first is valid the second isn’t. I also Chimmed in on the github Hope for an update soon. Version.4.1.53
