CDN rewrite for external wp-content directory (Jaquith Skeleton)
-
We are Mark Jaquith’s skeleton for one of our sites, so the wp-content directory actually lives outside the wp directory. I’m guessing it’s related, but now the CDN rewriter doesn’t rewrite anything (either things in /content/themes or /wp/wp-includes).
Directory structure is:
/content
/plugins
/themes
/wp
/wp-includes
other wp directorswp-config has:
// ======================== // Custom Content Directory // ======================== define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/content' ); define( 'WP_CONTENT_URL', 'https://' . $_SERVER['HTTP_HOST'] . '/content' );
- The topic ‘CDN rewrite for external wp-content directory (Jaquith Skeleton)’ is closed to new replies.