I haven’t tested this, but if you would need to find such a solution, I would probably try to do it in the following way by adding a script into the if ( SOME_CHECK_IF_STEP-1_WAS_PASSED )
condition you’ve described above, that would:
- check the DB for the
{$wpdb->prefix}sitemeta
table; - if it does not exist -> return false;
- if it does exists -> add a WP cron job to rewrite
wp-config.php
-> return true.
The WP cron job would rewrite the wp-config.php
to eliminate the check completely.
This way, you only have an additional DB request until the network is set up and the cron job did its magic.
Note sure this is worth the effort, though… 😉
Related Posts:
- Multiple Domains and Subdomains Using Multisite Installation
- How to move theme directory but not plugins/uploads out of WordPress root directory?
- How to prevent first post and first comment on WP MU?
- Subdomain and subdirectories together in one installation
- Redirect to another page using contact form 7? [closed]
- muliple wordpress multisite installs on the same sever
- Should I go for Multisite or separate WP Installation?
- Moving a WP Multisite to a subdirectory
- How to migrate subsite from dev multisite to production multisite
- How to delete post revisions?
- multisite 404 error for subdirectory
- How do I transition multiple installations to a single Multisite installation?
- How to add super admin to all sites
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to individually set WP_DEBUG on a sub-directory multisite?
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- Listing of all site options in dashboard
- Is there a way to define wp_blogs domains in wp-config?
- Generate a user list per site to communicate upgrade plans
- How to Set up a Multisite WordPress?
- Multisite, turn off “create new site”
- wp-admin slow in multisite
- Timeout While Upgrading Network in Multi-site
- restore_current_blog() vs. multiple switch_to_blog() followed by removing $GLOBALS[‘_wp_switched_stack’]
- Suppress subdirectory from WordPress Multisite primary URL
- Add new domain to ‘My Sites’ using network admin
- How To Modify New Sub Blog Immediately When Super Administrator Creates It?
- How do I add JavaScript that will execute on all my sites in Multisite?
- No Network/Super admin after enabling Network
- Issue converting single site to multi-site – blogs.dir folder not created
- WordPress Installation for multi-domains with nginx and php-fpm
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Why are images not displaying?
- Preview posts returns 404
- Change multi-site installation from sub-domains to sub-directories
- Multisite on Rackspace Cloud (ubuntu lucid)
- How to stop unlink images when remove a site or user
- Why does the My Site dropdown show only a single domain?
- Multiple homes for multiple languages [closed]
- multisite custom directory
- WordPress multisite installation broke menu links
- Multisite Network menu links not updating
- How to disable the default WordPress redirect to non-www URLs?
- How to host blog on separate domain from main site
- Can you manage multiple domain names from a single WordPress multisite network?
- Adding new sites to Multisite won’t register in Dashboard
- WordPress Network admin options page: how to store options and where will they be stored?
- How to force change Network site multi language subdirectory base URL?
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- Multisite Installation is all the same site
- 2 website 1 database… Local to online
- WordPress stuck in deleting user
- WordPress Multisite – Create Default Post and New Category On New Site Install
- HTTPS Warning and Certificate Error when Updating Network
- Custom port problem with local MU installation
- Multisite, with virtual root
- Multisite installation on an existing single installation
- Multisite Sub domains not working
- Can’t access Dashboard of a Multisite WordPress. Chrome results in “ERR_TOO_MANY_REDIRECTS”
- WordPress multi-site, developing locally and syncing live changes
- How to exclude specified from all list of Multisite
- How To Run Multiple Multi-Site Networks On Same Box [closed]
- Locking one blog of many in a multi user/blog WordPress installation
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- How to modify wp_config file for set up subdirectory?
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Is it possible to install WordPress MU on a subdomain?
- Forward and mask a WordPress website
- WordPress multisite with same content
- unable to access network admin of a blog
- Website not listed under Sites (in a Network environment)
- Sites network with sub-folders
- Getting stylesheet error after setting subdomain to false in multisite
- How to map domains to specific pages in WordPress and display them in the address bar?
- Domain not redirected correctly with WordPress Multisite
- How to have differents sites share the same tables of DB?
- Change header.php of a specific WordPress Multisite
- Modify new user email notification in network admin screen wp multisite
- Working locally with remote DB not working with multisite
- the menu of the network does not display my second website
- network admin pages not linked to correctly
- In Multisite: Site / Blog IDstill exists after deleting site
- Use a single WP installation instead of three
- Delete all blogs on multisite
- Move two independent sites to network
- Cannot access network admin panel on multi site
- How to apply specific plugins to affect all sites (Multisite Network)
- Is there a built in method to protect pages?
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- cannot access subsites in wordpress multisite
- Default sub-pages on WordPress Multisite
- Pick your brain on wp-config.php if statement for multisite
- Create a Network of Different websites with wordpress
- Setting up wordpress on a hosting server for the first time
- 4th Network Site Database Errors?
- How to disable admin access on new site registration for user in Multisite?
- Integrating WordPress for blog and other content pages in a web app
- Could not find site error
- Cookies in Multisite network where sites have their own domain name?