404 Errors with New Sites in Network
-
I’ve got a brand new install of wordpress 4.0, which I have converted to a network site. When I add a new site, I get a 404 error at the new subdomain for the site home, login, admin folder etc.
Reading about this problem, the most common cause is that the .htaccess file is not being read. Mine is. Permalinks are working on the main site and I have this running on a server where AllowOverride All is already set globally for ‘/’ in httpd.conf.
I have also confirmed that my wildcard DNS is working, because when I ping any subdomain, I get the same IP address as the main site.
My .htaccess and wp-config settings are below. Please help! 🙂
Here is my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]wp-config.php contains:
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘notSharing.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
- The topic ‘404 Errors with New Sites in Network’ is closed to new replies.