Install so base and PATH_CURRENT_SITE = /
-
I want both $base and PATH_CURRENT_SITE set to / when I install wordpress-3.0.1 and configure Network. They are automatically set to /blog/.
I added the lines below to wp-config.php, recreated the database and ran install.php. The install reports errors trying to get the properties of non-objects.
define('WP_DEBUG', true);
define( 'MULTISITE', true );
$base = '/';
define( 'PATH_CURRENT_SITE', '/' );
The install claims to succeed and errors on login:
No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.I install wordpress in a subdirectory of my Document root, e.g., /var/www/html/blog/
cd /var/www/html/blog/
tar –strip-components 1 -zxf wordpress-3.0.1.tar.gzWordPress 3.0.1 multisite install using subdirectories.
PHP 5.3.1 (cli) (built: Nov 20 2009 17:51:14)
RHEL 5.3
Apache httpd-2.2.3
- The topic ‘Install so base and PATH_CURRENT_SITE = /’ is closed to new replies.