Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7

Figured out the issue. It was with the generated “WordPress Rule 6”. It was giving 2 identical regex expressions. Removed the extra regex expression. Also had to remove “WordPress Rule 5”. Renumber the rules and now everything works fine. Here’s the updated web.config: <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <rewrite> <rules> <rule name=”WordPress Rule 1″ stopProcessing=”true”> … Read more

cant enable theme in multisite

Finally I’ve found that, in wp-sitemeta DB table, allowedthemes record value was incorrectly serialized (dont know why) and there was a:4 (instead of a:3, because actual length of array was: 3 values of s:) a:4:{s:13:”twentysixteen”;b:1; s:5:”meris”;b:1; s:8:”my_theme”;b:1;} I changed a:4 to a:3 and it worked. (also, make sure there is no more allowedthemes rows in … Read more

Non-wordpress subdomains on Multisite Installation

The WP Codex gives two examples of excluding a subdirectory from multisite’s control. .htaccess method (as Karthik noted) Virtual host method .htaccess Being sure to call the sub rewrite BEFORE the rewrite of ww.domain.com to domain.com RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} subdomain.domain.com RewriteCond %{REQUEST_URI} !subdomain/ RewriteRule ^(.*)$ subdomain/$1 [L] # Rewrite http://www.domain.com to domain.com … Read more

Multiple Domains with Single WordPress Install

Why not multisite: Multisite installations are difficult to maintain compared to single site installations. Many useful plugins don’t work properly on multisite installations. There may be SEO concern for such short web sites with basically just one page (thank you page doesn’t count) that looks very similar from the names. Multisite won’t solve this probable … Read more

Multiple Multisite networks on the same domain?

You can not run different networks or different Multisite installations under one domain in the default possibilities of WP. But you can use one Multiste with multiple networks with the help of a plugin – https://wordpress.org/plugins/wp-multi-network/ With this plugin get you the chance to create different networks with sites in one installation, one Multisite. Like … Read more

WordPress Multisite with VVV

You need the VVV Custom site template to enable multisite. And you have to let the main Vagrant instance load it automatically. Open the vvv-config.yml in the main directory, under sites: add the following entry: msvagrant: repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template hosts: – msvagrant.dev – en.msvagrant.dev – de.msvagrant.dev custom: wp_type: subdomain Then run vagrant up, and it should … Read more