***Update: since this article was written, we have updated our WooCommerce data collection methods. We now recommend switching to the rest API from xmlrpc, which you can read about here

 

Remarkety uses WordPress's xmlrpc service in order to synchronize data from the backoffice and to generate dynamic coupons if needed.

This file (xmlrpc.php) is sometimes blocked by an .htaccess file to disable access from anywhere due to security concerns. It's possible to enable access only to Remarkety by filtering based on our IP addresses.

Your .htaccess file (the one in your http root directory) might have some other changes, so please be careful when editing it.

Add the following to your .htaccess file (or modify the existing xmlrpc.php entry) in order to allow access to the xmlrpc.php file from Remarkety's IP's only (note: The IP's here may not be updated - modify based on the most recent IP's found here)

<Files xmlrpc.php>
order deny,allow
deny from all
allow from 52.4.123.225
allow from 34.194.250.28
allow from 34.227.54.124
</Files>
Was this article helpful?
0 out of 0 found this helpful

Comments

1 comment

  • In the allow statements, you can use domains or IP. I'm a certified linux admin.

    1

Please sign in to leave a comment.