I should mention, that my goal is to get different sites with different themes and databases but running off of one WP codebase. I’ve done this with Drupal but I’m new to WP. Thanks again.
What’s in your .htaccess file?
Hi Mika and folks.
OK, you were right, I forgot to add the .htaccess code that the installer generates, so I’m getting closer! here’s where things are now. If I go to this page, all works well, but if I go to visit the sub-site I get the ole “Index of /womanwisewp” blank page yet I can see a post here and a page here. Is somthing I would configure in htdocs?
Code below shows my configuration (not) for a subdomain install.
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
$base = '/';
define('DOMAIN_CURRENT_SITE', 'multisite.pairsite.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
And my htaccess:
# BEGIN WordPress
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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress
Sorry I’m outta my depth here and thanks again for your help.
Greg
http://multisite.pairsite.com/womanwisewp/ works now.