Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Created January 4, 2014 13:20
Show Gist options
  • Save yanknudtskov/8255273 to your computer and use it in GitHub Desktop.
Save yanknudtskov/8255273 to your computer and use it in GitHub Desktop.
Move the Wordpress Content Folder This new, more easily accessible wp-content folder will be used instead of the one in the WordPress directory. This will mean you will lose access to the default themes. You can either manually move them to the new content directory or you can register the original wp-content folder using register_theme_director…
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . 'path/to/wp-content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/path/to/wp-content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment