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?
- How To Add Custom Form Fields To The User Profile Page?
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- Specific upload folder for PDFs in custom Post type in WP multisite
- How to migrate subsite from dev multisite to production multisite
- How to delete post revisions?
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- How do I change the Multisite URL?
- Can upload doc and pdf but not ppt – not permitted for security reasons
- multisite 404 error for subdirectory
- How do I transition multiple installations to a single Multisite installation?
- Post and Page Inheritance to subsites in a WordPress Network
- Roles other than Super admin accessing manage_network_themes
- How to add super admin to all sites
- What is the best way to load the WP environment in a subdomain of my multisite WordPress install?
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to individually set WP_DEBUG on a sub-directory multisite?
- Best way to develop multisite and deploy on another server?
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- COOKIE_DOMAIN setting confusion
- How To Provide Sub-Blogs Their Own Domain Names?
- domain mapping confused about sunrise
- Listing of all site options in dashboard
- Is there a way to define wp_blogs domains in wp-config?
- Multisite: How to store global options vs. site options?
- Single-user registration to access all sites in WordPress MultiSite Network
- Removing My Sites menu from Admin
- Prevent Deletion of Blogs
- WordPress multisite subdirectory redirect infinite loop issue
- WPMU vs WordPress MultiSite is there a difference anymore?
- Generate a user list per site to communicate upgrade plans
- NGINX Multisite Rewrite rules
- 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
- Multisite with path, how to change the main site
- “Upgrade Network” error: stuck with SSL certificate verification
- restore_current_blog() vs. multiple switch_to_blog() followed by removing $GLOBALS[‘_wp_switched_stack’]
- Suppress subdirectory from WordPress Multisite primary URL
- Multisite configuration fails with css/js files
- What are the differences in capabilities between the super-administrator and administrator?
- WordPress network: set themes and plugins for new blog
- Add new domain to ‘My Sites’ using network admin
- Network setup tab is not shown under Tools
- How To Modify New Sub Blog Immediately When Super Administrator Creates It?
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- How do I add JavaScript that will execute on all my sites in Multisite?
- No Network/Super admin after enabling Network
- Multiple Multisite networks on the same domain?
- 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
- Limit multisite/network site names to a property of the user
- How do I maintain static directories on multisite subdomains?
- Why are images not displaying?
- Replacing the default content created while the site creation
- Problem in Internationalizing a plugin built for network level usage
- Multisite network admin – URL / redirect error
- Delete pages and Create default pages for all new network sites
- WP Multisite Static Frontpage
- 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
- What should I do? A multisite, a single website or many websites? [closed]
- Change Username?
- 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
- How to use if condition to change $table_prefix in wp_config.php
- Multi-site vs seperate installs for just 3 blogs?
- Installing WP twice in same Directory?
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Multisite Network menu links not updating
- Is there a way to run upgrade.php for one blog?
- How to disable the default WordPress redirect to non-www URLs?
- Hosting a seperate wordpress project on localhost
- Multisite development environment
- How to host blog on separate domain from main site
- Multisite install – Create each domain with its own directory
- Multisite on localhost using xampp
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- Can you manage multiple domain names from a single WordPress multisite network?
- Include only a domain path in multisite Network
- Pushing stored procedure to a multisite database in WordPress
- Possible to enqueue scripts and CSS to Multisite Network dashboard?
- Error uploading files bigger than 58 MB
- How does WordPress determine which multisite the user is on from the URL?
- Adding new sites to Multisite won’t register in Dashboard
- Multisite multidomain