Last active
April 10, 2017 21:53
-
-
Save AustinWinstanley/df1c7fe19e52f94f9f7d625b2c6a4ee1 to your computer and use it in GitHub Desktop.
Change Content Directory #WordPress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Content Directories and URL's | |
| * | |
| * Only needs to be set if you want to change the location of wp-content. | |
| */ | |
| /** Content URL */ | |
| define( 'WP_CONTENT_URL', 'https://content.example.com' ); | |
| /** Content Directory */ | |
| define( 'WP_CONTENT_DIR', dirname( dirname( __FILE__ ) ) . '/wp-content' ); // Up one directory | |
| /** Plugin URL */ | |
| define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' ); | |
| /** Plugin Directory */ | |
| define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); | |
| /** Language Directory */ | |
| define( 'WP_LANG_DIR', dirname( dirname( __FILE__ ) ) . '/wp-languages' ); // Up one directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment