Website DR using Multisite

No, if production goes down then there’s no way to serve the site, since it’s a multisite, and a multisite is still a single install of WordPress. It’s possible that code in the theme may bring down a site inside a multisite without bringing down the entire thing, but any DR site will be running … Read more

Architectural reasons behind sitemeta, blogs, home, site and DOMAIN_CURRENT_SITE redundancy

How do they relate to each other? What are their different uses within WordPress? define(‘DOMAIN_CURRENT_SITE’, $_SERVER[‘HTTP_HOST’]); define(‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/”); These 2 are not the same thing, e.g. for a WP site whose root is at example.com/wp DOMAIN_CURRENT_SITE will be example.com, and PATH_CURRENT_SITE will be /wp define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); Site != blog. In a multisite you … Read more

Multisite setup creating custom table

It’s up to you. Normally when you create and query a table you use the $wpdb->prefix property as part of the table name. In a multisite install this prefix includes the current site ID. So if you use dbDelta() to create a table with the name $wpdb->prefix . ‘tablename’, then — assuming the default prefix … Read more

WP Multisite – domain mapping to domain.com and separate site to domain.com/help

Yes, this is possible (see https://wordpress.org/support/article/create-a-network/). For sub-domains you’ll need to confirm that your DNS has a wildcard entry for your domain. So, based on your root domain, this would work for: mysub1.multisiteroot.com, mysub2.multisiteroot.com, etc. If you wanted to us different domain names for subsites, then you’d need to have those domain names point to … Read more

What are Attributes used for in a WordPress Multisite?

The “Deleted”, “Spam” and “Archived” attributes If you checked “Deleted”, “Spam” or “Archived”, the site would no longer be accessible to the public and all users except super admins, and the only thing non super admins would see is a notice saying: “This site is no longer available.” if the “Deleted” attribute is checked. “This … Read more

Super admin access to a forgotten WP instance?

Note: Super Admins only have meaning in WordPress Multisite. I’ve assumed below that you’re running Multisite, though your question isn’t tagged as such. Super Admins are stored as a serialized array in the {$prefix}_sitemeta table in the site_admins record. In my local installation, with only the user ID adminpj as a Super Admin, here’s what … Read more

Depth > 2 possible with multisite?

Answering your first question, yes it is absolutely possible to have one installation of WordPress running ‘within’ another (i.e. installed at example.com and example.com/child). I have something like that running right now.

Poor performance on multisite install

I just ran your page through the NET console on Firebug just so I could see what was loading … and wow … you have a lot of things loading that don’t need to be. From the looks of things, the following plug-ins are adding scripts and other collateral files to your load which are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)