Download - Multisite for the Masses
Multisite for the Masses
Richard ArchambaultHappiness Engineer - WordPress.com
@richardmtl
Saturday, 27 April, 13
Multisite? What’s that?
One WordPress installation, many sites
Saturday, 27 April, 13
Why would I want that?
Saturday, 27 April, 13
Why would I want that?• Updating all of your sites? One click!
Saturday, 27 April, 13
Why would I want that?• Updating all of your sites? One click!
• Sharing plugins and themes across sites; quick updates!
Saturday, 27 April, 13
Why would I want that?• Updating all of your sites? One click!
• Sharing plugins and themes across sites; quick updates!
• Hosting your clients
Saturday, 27 April, 13
Why would I want that?• Updating all of your sites? One click!
• Sharing plugins and themes across sites; quick updates!
• Hosting your clients
• Demo a site to a client: develop on your multisite, then deploy to their server
Saturday, 27 April, 13
Why would I want that?• Updating all of your sites? One click!
• Sharing plugins and themes across sites; quick updates!
• Hosting your clients
• Demo a site to a client: develop on your multisite, then deploy to their server
• Multilingual sites
Saturday, 27 April, 13
Multisite Examples
Saturday, 27 April, 13
Multisite Examples
• The big one: WordPress.com
Saturday, 27 April, 13
Multisite Examples
• The big one: WordPress.com
• Canada World Youth
Saturday, 27 April, 13
Multisite Examples
• The big one: WordPress.com
• Canada World Youth
• Edublogs.org
Saturday, 27 April, 13
Multisite Examples
• The big one: WordPress.com
• Canada World Youth
• Edublogs.org
• My sites!
Saturday, 27 April, 13
Ok, how do I activate the Multisite Goodness?
Saturday, 27 April, 13
Make a backup!!!!!!!
Saturday, 27 April, 13
Seriously, make a backup!!!
Saturday, 27 April, 13
Read this:
• http://codex.wordpress.org/Before_You_Create_A_Network
• http://codex.wordpress.org/Create_A_Network
Saturday, 27 April, 13
wp-config.php
Saturday, 27 April, 13
Network Setup
Saturday, 27 April, 13
copy to wp-config.php and .htaccess
Saturday, 27 April, 13
My Sites!Saturday, 27 April, 13
Adding SitesSaturday, 27 April, 13
Wow, new sites in my network!
Saturday, 27 April, 13
Manage ALL THE SITES!Saturday, 27 April, 13
Manage Themes
Saturday, 27 April, 13
Manage Plugins
Saturday, 27 April, 13
Must-use plugins (mu-plugins)
Saturday, 27 April, 13
Must-use plugins (mu-plugins)
• They are always on and can’t be deactivated unless the files are removed from /mu-plugins/
Saturday, 27 April, 13
Must-use plugins (mu-plugins)
• They are always on and can’t be deactivated unless the files are removed from /mu-plugins/
• loaded and run before normal plugins
Saturday, 27 April, 13
Must-use plugins (mu-plugins)
• They are always on and can’t be deactivated unless the files are removed from /mu-plugins/
• loaded and run before normal plugins
• one example: Domain Mapping plugin
Saturday, 27 April, 13
Manage Users
Saturday, 27 April, 13
Domain Mapping
Saturday, 27 April, 13
Instead of:
Saturday, 27 April, 13
Instead of:
• example.com/subsite
• example.com/anothersubsite
• example.com/yetanothersubsite
Saturday, 27 April, 13
You can have:
Saturday, 27 April, 13
You can have:
• example.com
• anotherexample.ca
• yetanotherexample.org
• example.com/subsite too!
Saturday, 27 April, 13
How do I map my domains?
Saturday, 27 April, 13
How do I map my domains?
• Add the domain to your Parked Domains in cPanel
Saturday, 27 April, 13
How do I map my domains?
• Add the domain to your Parked Domains in cPanel
• WordPress MU Domain Mapping plugin
• Install and network activate
• move sunrise.php to /wp-content/
• add define( 'SUNRISE', 'on' ); to wp-config.php
Saturday, 27 April, 13
How do I map my domains?
Saturday, 27 April, 13
How do I map my domains?• go to Super Admin -> Settings -> Domain Mapping and add your server’s IP
address
Saturday, 27 April, 13
How do I map my domains?• go to Super Admin -> Settings -> Domain Mapping and add your server’s IP
address
• Create the site
Saturday, 27 April, 13
How do I map my domains?• go to Super Admin -> Settings -> Domain Mapping and add your server’s IP
address
• Create the site
• Find the site’s ID
Saturday, 27 April, 13
How do I map my domains?• go to Super Admin -> Settings -> Domain Mapping and add your server’s IP
address
• Create the site
• Find the site’s ID
• Add your domains in Settings -> Domains
• make sure to check “Primary”:
Saturday, 27 April, 13
How do I map my domains?• go to Super Admin -> Settings -> Domain Mapping and add your server’s IP
address
• Create the site
• Find the site’s ID
• Add your domains in Settings -> Domains
• make sure to check “Primary”:
Saturday, 27 April, 13
Networks+ plugin
http://wpebooks.com/networks/
Saturday, 27 April, 13
Networks+ plugin
Saturday, 27 April, 13
Networks+ plugin
• Allows a Multisite network within another multisite network
Saturday, 27 April, 13
Networks+ plugin
• Allows a Multisite network within another multisite network
• nested subdomains: city.state.domain.com
Saturday, 27 April, 13
Networks+ plugin
• Allows a Multisite network within another multisite network
• nested subdomains: city.state.domain.com
• top-level domains with their own child sites:
• anotherexample.ca/subsite
• yetanotherexample.com/subsite
Saturday, 27 April, 13
Useful Plugins
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
• Multisite Toolbar Additions
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
• Multisite Toolbar Additions
• Network Plugin Auditor
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
• Multisite Toolbar Additions
• Network Plugin Auditor
• Network Switch Button
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
• Multisite Toolbar Additions
• Network Plugin Auditor
• Network Switch Button
• Simple History
Saturday, 27 April, 13
Useful Plugins• Enforce Strong Password
• Hide Welcome Panel for Multisite
• Multisite Bulk User Management
• Multisite Plugin Manager
• Multisite Toolbar Additions
• Network Plugin Auditor
• Network Switch Button
• Simple History
• Site Replicator for WordPress networks
Saturday, 27 April, 13
Go forth and multi-site!
Saturday, 27 April, 13