Skip to content

Instantly share code, notes, and snippets.

@AustinWinstanley
Last active April 10, 2017 21:53
Show Gist options
  • Select an option

  • Save AustinWinstanley/df1c7fe19e52f94f9f7d625b2c6a4ee1 to your computer and use it in GitHub Desktop.

Select an option

Save AustinWinstanley/df1c7fe19e52f94f9f7d625b2c6a4ee1 to your computer and use it in GitHub Desktop.

Revisions

  1. AustinWinstanley revised this gist Apr 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion wp-config.php
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    * Only needs to be set if you want to change the location of wp-content.
    */
    /** Content URL */
    define( 'WP_CONTENT_URL', 'https://example.com/wp-content' );
    define( 'WP_CONTENT_URL', 'https://content.example.com' );

    /** Content Directory */
    define( 'WP_CONTENT_DIR', dirname( dirname( __FILE__ ) ) . '/wp-content' ); // Up one directory
  2. AustinWinstanley revised this gist Apr 10, 2017. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions wp-config.php
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,8 @@
    /**
    * 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://example.com/wp-content' );

  3. AustinWinstanley created this gist Apr 10, 2017.
    14 changes: 14 additions & 0 deletions wp-config.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    /** Content URL */
    define( 'WP_CONTENT_URL', 'https://example.com/wp-content' );

    /** 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