Performance: Multisite network basics
This concept affects the initial page load speed and server response time when managing multiple sites under one WordPress installation.
Use WordPress multisite to share one codebase, plugins, and themes across all sites.Separate WordPress installations for each site with duplicated plugins and themes.
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Separate installs per site | Multiple independent DOM trees | Multiple reflows per site load | High due to duplicated assets | [X] Bad |
| Multisite network shared install | Single DOM tree per site | Single reflow per site load | Lower due to shared assets | [OK] Good |
wp-config.php to enable multisite mode.functions.php is for theme functions, index.php is main template, .htaccess handles URL rewriting but not enabling multisite..htaccess rewrite rules.wp-config.php. Then configure .htaccess for URL rewriting. Next, choose subdomain or subdirectory setup. Finally, create new sites.Pass the test and this pattern moves unknown