Thread Starter
Shane
(@mohonrim)
Here are the essentials:
wp-config
—
define(‘WP_DEBUG’, false); define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’; define( ‘DOMAIN_CURRENT_SITE’, ‘ageditors.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );
htaccess
—
RewriteEngine On
RewriteBase / RewriteRule ^index\.php$ -[L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ -[L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-( content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
Thread Starter
Shane
(@mohonrim)
Update:
This is a Windows server. My hosting provider said there was an issue with the “.” in blogs.dir so I changed the site to use “blogs” as the upload folder. I modified each of the paths in the site config. Now all of the images are displaying correctly.
However, I am still unable to upload media or upgrade plugins. I recieve this error when adding media:
“IMG_0003.JPG” has failed to upload due to an error
Unable to create directory C:\Inetpub\wwwroot\humanspan\sites\6101_WP2/wp-content/blogs.dir/3/files/2010/10. Is its parent directory writable by the server?
Why would this still have “blogs.dir” when I’ve modified the config file to use “blogs” for the upload folder? I’ve searched the database and cannot find any field that is storing this “blogs.dir” value. Is this written dynamically in another file?
Any ideas?