Title: Synchronize Button Does Nothing.
Last modified: August 22, 2016

---

# Synchronize Button Does Nothing.

 *  [Trevor Green](https://wordpress.org/support/users/trevogre/)
 * (@trevogre)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/synchronize-button-does-nothing/)
 * I believe this is an https problem.
 * WordPress makes use of the following constants when determining the path to the
   content and plugin directories. These should not be used directly by plugins 
   or themes, but are listed here for completeness.
 * WP_CONTENT_DIR // no trailing slash, full paths only
    WP_CONTENT_URL // full 
   url WP_PLUGIN_DIR // full path, no trailing slash **WP_PLUGIN_URL** // full url,
   no trailing slash
 * [http://codex.wordpress.org/Determining_Plugin_and_Content_Directories](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
 * You are using WP_PLUGIN_URL
 * **Change
 * define(‘RS_CDN_URL’, WP_PLUGIN_URL.’/rackspace-cloud-files-cdn/’);
 * to
 * define(‘RS_CDN_URL’, plugins_url( ‘rackspace-cloud-files-cdn/’, __FILE__ ));
 * and
 * wp_enqueue_script(‘admin-js’, RS_CDN_URL.’assets/js/admin.js’);
 * to
 * wp_enqueue_script(‘admin-js’, plugins_url( ‘assets/js/admin.js’, __FILE__ ) );
 * I think that made it work. Or at least it is allowing it to sync now. I look 
   forward to an update so I can take out my hacks. Let me know if you need any 
   help with that.
 * [https://wordpress.org/plugins/rackspace-cloud-files-cdn/](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)

The topic ‘Synchronize Button Does Nothing.’ is closed to new replies.

 * ![](https://ps.w.org/rackspace-cloud-files-cdn/assets/icon-256x256.jpg?rev=1001447)
 * [Rackspace CDN](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)
 * [Support Threads](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rackspace-cloud-files-cdn/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 0 replies
 * 1 participant
 * Last reply from: [Trevor Green](https://wordpress.org/support/users/trevogre/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/synchronize-button-does-nothing/)
 * Status: not resolved