# addefend-easy-integration Wordpress plug-in for easier AdDefend integration. #### Description * The addefend-easy-integration projects is a Wordpress plug-in that aims to make the addefend integration as easy as possible. * The plug-in automatically handels script integration and content-proxy. * The customer will only have to configure the plug-in with the parameters provided by AdDefend (script URL + proxy URL + images directory) and then the plug-in is supposed to do the rest. #### Development environment ##### 1) Install [Wordpress with LAMP](http://www.tecmint.com/install-wordpress-on-ubuntu-16-04-with-lamp/) ##### 2) Enable debugging by editing _/var/www/html/wp-config.php_ `define('WP_DEBUG', true);` `define('WP_DEBUG_LOG', true);` Now you can find the log file in _/var/www/html/wp-content_ ##### 3) Make sure to enable the rewite module in apache `sudo a2enmod rewrite` ##### 4) Create the .htaccess file if it doesn't exist already and give Wordpress write permissions to the .htaccess file ##### 5) Go to _/var/www/html/wp-content/plugins_ and check-out the _addefend-easy-integration_ project * You might need write permissions for that folder