WordPress multisite proper prefix attribution

It is using a DB level “auto increment” flag on the base site blogs table. Basically, when a new record is inserted into the table the blog id number is automatically created with no discrete SQL — it just “happens”. The database keeps an internal control structure for this that you don’t have direct access … Read more

301’s not working with multisite

Make sure you’re using the right .htaccess rules for Multisite. Generally, these days, they should look like this: Subfolder RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [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)$ … Read more