My current directory structure:
/wordpress (core files)
/wp-content (my files)
The purpose is to be able to have the core fails hooked up to the automattic svn repository, and my files in my own svn repository.
I thought everything was working great, until I realized that uploaded images are going into /wordpress/wp-content/uploads dir, not /wp-content/uploads, as would be expected.
Here is my wp-config settings:
define('WP_HOME', 'http://url.com' );
define('WP_SITEURL', 'http://url.com/wordpress');
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content' );
define( 'WP_CONTENT_URL', 'http://url.com/wp-content' );
obviously WordPress is using the SITEURL constant to determine where to put the uploads, instead of the WP_CONTENT* constants, but why?
Thanks
alvar