Skip to content

Instantly share code, notes, and snippets.

@vbk
Created September 23, 2011 11:36
Show Gist options
  • Save vbk/1237168 to your computer and use it in GitHub Desktop.
Save vbk/1237168 to your computer and use it in GitHub Desktop.
Moving wp-content and problem with themes?
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content' );
define( 'WP_CONTENT_URL', 'http://example/blog/wp-content');
define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content/plugins' );
define( 'WP_PLUGIN_URL', 'http://example/blog/wp-content/plugins');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment