Title: Making it work with https://github.com/roots/bedrock
Last modified: August 22, 2016

---

# Making it work with https://github.com/roots/bedrock

 *  [martynling](https://wordpress.org/support/users/martynling/)
 * (@martynling)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/making-it-work-with-httpsgithubcomrootsbedrock/)
 * Roots Bedrock uses a non-standard folder layout/config for WordPress. To get 
   your plugin running, I needed to make a slight change, which should enable the
   plugin to run in both standard and non-standard setups:
 * On line 29 of rackspace-cdn.php, I replaced this:
 * `define('RS_CDN_PATH', ABSPATH.PLUGINDIR.'/rackspace-cloud-files-cdn/');`
 * with this:
 * `define('RS_CDN_PATH', plugin_dir_path( __FILE__ ));`
 * It would be great if you could roll this in to an upcoming version and, in the
   meantime, this might be helpful to other users.
 * Thanks for a great plugin.
 * [https://wordpress.org/plugins/rackspace-cloud-files-cdn/](https://wordpress.org/plugins/rackspace-cloud-files-cdn/)

The topic ‘Making it work with https://github.com/roots/bedrock’ 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

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [rackspace](https://wordpress.org/support/topic-tag/rackspace/)
 * [roots](https://wordpress.org/support/topic-tag/roots/)

 * 0 replies
 * 1 participant
 * Last reply from: [martynling](https://wordpress.org/support/users/martynling/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/making-it-work-with-httpsgithubcomrootsbedrock/)
 * Status: not resolved