[wp-hackers] Any drawbacks in setting WP_CONTENT_DIR (and URL) to DOCUMENT_ROOT?

Rodolfo Buaiz brasofilo at gmail.com
Fri Jul 13 14:33:23 UTC 2012


G'evening, wp-hackers out there!

Haven't tested this, but anyone can preview any troubles with this setup in
wp-config.php?
(WordPress installed at the root)

define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] );
define( 'WP_CONTENT_URL', 'http://www.example.com' );

`/public_html` structure:

index.php
/plugins
/themes
/uploads
/wp-admin
wp-config.php
/wp-includes
wp-load.php


thanks,

Rodolfo Buaiz
Productor Multimedia
Península Ibérica
+34 68.760.1407
skype: brasofilo
www.rodbuaiz.com


More information about the wp-hackers mailing list