linkedin

Frequently Asked Questions

⌘K
  1. Home
  2. /
  3. Docs
  4. /
  5. Frequently Asked Question...
  6. /
  7. Setup
  8. /
  9. How do I configure FooSal...

How do I configure FooSales to work with an NGINX server?

If your site runs on an NGINX server and you purchased a FooSales for WooCommerce subscription from the WooCommerce Marketplace, please add the following line of code to your server config file and restart the server in order to ensure that it runs properly:

rewrite ^/foosales/static/(.*) /wp-content/plugins/foosales-for-woocommerce/public/build/static/$1;

Please note that this should not be added to any plugin file, the wp-config.php file or your theme’s functions.php file. It is meant to be added to your server config file and it is recommended that your server admin perform these changes. For more information about adding rewrite rules to an Nginx server, feel free to read this post on the official Nginx blog.

Tags , , , ,