SlideShare a Scribd company logo
1 of 45
Download to read offline
@Taylor4484 #multisite #WCTO
Best Friend ||
Worst Enemy
Multisite Network
Do’s & Don’ts
presented by Taylor McCaslin
at WordCamp Toronto
on October 3, 2015
@Taylor4484 #multisite #WCTO
@Taylor4484
#multisite
(follow me for the link to these slides
& tweet your photos!)
@Taylor4484 #multisite #WCTO
Technical Product Manager
UX Designer
Interaction Designer
BA, Theatre & Dance
Certificates in Business, Computer Science,
Digital Art & Media
Taylor McCaslin
@Taylor4484 #multisite #WCTO
Disclaimer
● My advice is based on my experience with what has
worked for me in the past
● Every project is unique
● There is an exception to every rule I makeup
● Plugins will do everything I say multisite won’t or shouldn’t
@Taylor4484 #multisite #WCTO
What people are saying
● “I tried to use multisite to manage multiple sites and
just got myself confused”
● “Multisite is amazing, why would anyone not use it?”
● “Multisite is hard”
● “We had a project that was running multisite and we
converted it to a standard wordpress install”
● “I don’t use anything but multisite”
@Taylor4484 #multisite #WCTO
How it’s being used
“Multisite is now a utility for managing multiple sites using
one installation, where as the original vision was to enable
blogging networks“
@jjj on make.wordpress.org/core
●
○
Multisite
●
○
Best Friend || Worst Enemy
@Taylor4484 #multisite #WCTO
What is Multisite?
● A multisite network is a collection of site that all share the
same single WordPress installation
● Terminology
○ Install: an instance or installation of WordPress
○ Network: a set of subsites that operate within the single WordPress
install configured for multisite
○ Site: one of the subsites in the multisite network
@Taylor4484 #multisite #WCTO
What ISN’T Multisite?
● A network of sites that can be moved to separate hosts
○ 1 host. 1 install of WordPress. Many sites.
● A set of sites that can easily be separated into their own
WordPress installs
○ trust me, modifying serialized data is not fun
● A set of sites that can have different IP addresses
○ see the first point
@Taylor4484 #multisite #WCTO
A big happy multisite apartment
Multisite networks are like apartment complexes.
● Shared roof (hosting)
● Common spaces (filesystem)
● Private apartments (sites)
Be a good neighbor
Don’t trust strangers!
Always Lock your apartment door
@Taylor4484 #multisite #WCTO
The Network Admin /wp-admin/network
@Taylor4484 #multisite #WCTO
Open or Closed Site?
● Terminology is hard…. and confusing
Public Network / Untrusted
● Anyone can signup and create a site
(sometimes paid)
○ WordPress.com
○ Happytables.com
○ University Student Blogs
● Concerns:
○ file types / uploads
○ scripts / embeds
○ copyright / DMCA
Private Network / Trusted
● Limited site and user creation
○ Wordcamp.org
○ Company intranets
○ University network
■ colleges ,department, etc
● Concerns:
○ too many cooks
○ or none at all
○ code changes affect all sites!
@Taylor4484 #multisite #WCTO
Subfolders, Subdomains, & Domain Mapping
● 1 primary network domain
○ sub-domain (I prefer this one)
■ mysite.com
■ site2.mysite.com
■ site3.mysite.com
○ sub-folder
■ mysite.com/site1
■ mysite.com/site2
■ mysite.com/site3
● Domain Mapping
○ Github.com/humanmade/Mercator
■ sunrise.php
○ Premium plugins exist for selling domains to users (wpmudev.org)
@Taylor4484 #multisite #WCTO
ALWAYS use CNAMES
@Taylor4484 #multisite #WCTO
Unified Site Management
● Super Admin Role
● manage_network
● manage_sites
● manage_network_users
● manage_network_plugins
● manage_network_themes
● manage_network_options
● unfiltered_html
codex.wordpress.org/Roles_and_Capabilities
@Taylor4484 #multisite #WCTO
Shared Users
● All blogs have central user management
● Users login once to access all sites on the network
○ Doesn’t play well with 2FA plugins
■ You’ll login for every site
■ Duo2, Google Auth, Two Factor Auth, etc
@Taylor4484 #multisite #WCTO
Shared Users
● Caution: User profiles are the same for all sites
@Taylor4484 #multisite #WCTO
Individual Multisite Author
@Taylor4484 #multisite #WCTO
Shared Themes
● Add a theme
○ Network Enable (all sites)
○ Restrict themes available to use
per site
■ Done through the Site -> Edit Site
menu in network admin
● Changes to one theme
WILL affect all sites using it
@Taylor4484 #multisite #WCTO
Child Themes on Multisite
https://wordpress.org/plugins/one-click-child-theme/
@Taylor4484 #multisite #WCTO
Shared Plugins
● Install plugins on the network (for your site admins)
○ Activate per site (wp-admin)
○ Network Activate (network admin)
● Must Use Plugins
○ Can’t be deactivated through the admin
@Taylor4484 #multisite #WCTO
Settings in two places...
@Taylor4484 #multisite #WCTO
File Structure Differences
❏ wp-config.php has extra lines
❏ .htaccess has extra lines
❏ wp-content/sunrise.php if you are using domain mapping
❏ wp-content has extra subfolders
@Taylor4484 #multisite #WCTO
File Structure Differences
Pro tip: rely on host to
allow you to grant
your site admins
access to only specific
site directories
@Taylor4484 #multisite #WCTO
DB Structure Differences
Normal WordPress
(10)
wp_options
wp_posts
wp_postmeta
wp_comments
wp_commentmeta
wp_terms
wp_term_taxonomy
wp_term_relationships
wp_users*
wp_usermeta*
Multisite Specific
(10 + 6)
wp_blogs
wp_blog_versions
wp_registration_log
wp_signups
wp_site
wp_sitemeta
PER Multisite
(10 + 6 + (N * 8))
wp_2_options
wp_2_posts
wp_2_postmeta
wp_2_comments
wp_2_commentmeta
wp_2_terms
wp_2_term_taxonomy
wp_2_term_relationships
@Taylor4484 #multisite #WCTO
Tables in ONE multisite DB
(10 + 6 + (N * 8)) where n is number of sites
1 site = 24 tables
10 sites = 96 tables
100 sites = 816 tables
1,000 sites = 8,016 tables
10,000 sites = 80,016 tables
95,000,000 sites = 296,000,016 tables WordPress.com, July 2015
@Taylor4484 #multisite #WCTO
Choosing the right Hosting
● Use a managed host
● Pro-Tips:
○ automatic backups with 1 click restore (ability to download backup)
○ built in staging sites (that magically with the networked sites)
○ granular deploy to production controls (deploy only specific tables)
○ look for extra security features (like automatic ip blacklisting)
○ know limitations (some hosts don’t allow subdomains or subfolders)
○ use version control
● MMSN (massive multisite network)
○ plan to spend $$$$ or hire a sysadmin
@Taylor4484 #multisite #WCTO
Pro Dev Do’s
● define('DISALLOW_FILE_EDIT', true);
○ disable the Admin File Editor
● define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true );
○ For large sites: prevents dbDelta() and the upgrade functions from
doing expensive queries against global tables
@Taylor4484 #multisite #WCTO
Multisite Plugin Developer Do’s
● Consider your Network and WP-Admin settings
○ Split out these settings if needed
● Cleanup site options on delete
○ delete_site_option( $option_name );
○ can be expensive
● Cleanup custom site tables on delete
● Consider how licensing will work for Networks
@Taylor4484 #multisite #WCTO
Pro Dev Do’s
● add_action( ‘network_admin_menu’, ‘my-settings’ );
○ add extra submenus and menu options to the network admin panel'
@Taylor4484 #multisite #WCTO
Multisite Theme Developers Do’s
● Create Child Themes for your Themes
● Consider how licensing will work for Networks
@Taylor4484 #multisite #WCTO
Pro Dev Dont’s
● current_user_can(‘unfiltered_html’)
○ “Allows user to post HTML markup or even JavaScript code in pages,
posts, comments and widgets.”
○ Just don’t. You will regret this.
● loop through your network sites
○ Unless you know what you’re doing, you’ll cripple your site
performance, if not crashing your site altogether.
@Taylor4484 #multisite #WCTO
Multisite
Use Cases
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to allow users to create their own sites within a
network with some constraints”
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to allow users to create their own sites within a
network with some constraints”
● Use Multisite!
○ This is what multisite was made to do, and it does it well!
● Pro-Tip: customize the admin!
○ WordPress.com
○ Happytables.com
@Taylor4484 #multisite #WCTO
Happy Tables Custom WP Admin
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to centrally manage all my client’s sites”
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to centrally manage all my client’s sites”
● Don’t use Multisite
● Alternatives:
○ Jetpack Site Management (update plugins across your site)
○ WP Remote (free, hosted)
○ Manage WP (premium, hosted)
○ Infinite WP (free, self-hosted with paid addons)
○ WP-CLI (script your way to site nirvana)
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to have a multisite network where each site is in a
different language”
@Taylor4484 #multisite #WCTO
To multisite or not?
“I want to have a multisite network where each site is in a
different language”
● Maybe Multisite, Maybe Not
● SEO optimization can be difficult when similar content
is across a network of sites
○ Pro-tip: hreflang tags and canonical links are your friend
● Plugins like WPML are built specifically to do this
@Taylor4484 #multisite #WCTO
To multisite or not?
“I have a lot of content that is very different, and I want all
my sites to look different, but it’s still all my content”
@Taylor4484 #multisite #WCTO
To multisite or not?
“I have a lot of content that is very different, and I want all
my sites to look different, but it’s still all my stuff”
● Most likely not Multisite, but maybe
● Map domains to categories and tags
● Create custom templates for custom posts types, and
category archives
@Taylor4484 #multisite #WCTO
Best Friend ||
Worst Enemy
Multisite Network
Do’s & Don’ts
presented by Taylor McCaslin
at WordCamp Toronto
on October 3, 2015

More Related Content

What's hot

Making Multisite Work for You
Making Multisite Work for YouMaking Multisite Work for You
Making Multisite Work for Youdrywallbmb
 
Multisite core concepts final
Multisite core concepts finalMultisite core concepts final
Multisite core concepts finalUmesh Chaudhary
 
WordPress as a Service
WordPress as a ServiceWordPress as a Service
WordPress as a ServiceAndrew Bauer
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Alan Lok
 
GDI - Intro to WordPress
GDI - Intro to WordPressGDI - Intro to WordPress
GDI - Intro to WordPressSuzette Franck
 
WordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesWordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesEquinet Academy
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014Judy Wilson
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?Andy Melichar
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014The Toolbox, Inc.
 
WordPress Fav Plugins & Security
WordPress Fav Plugins & SecurityWordPress Fav Plugins & Security
WordPress Fav Plugins & SecurityThe Toolbox, Inc.
 
No more “cowboy coding”
No more “cowboy coding”No more “cowboy coding”
No more “cowboy coding”Jim True
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressEunus Hosen
 
Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT mayur akabari
 
WordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopWordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopJonny Allbut
 
WordPress(The Big Picture)
WordPress(The Big Picture)WordPress(The Big Picture)
WordPress(The Big Picture)Sandip Basnet
 

What's hot (20)

Making Multisite Work for You
Making Multisite Work for YouMaking Multisite Work for You
Making Multisite Work for You
 
Multisite core concepts final
Multisite core concepts finalMultisite core concepts final
Multisite core concepts final
 
WordPress as a Service
WordPress as a ServiceWordPress as a Service
WordPress as a Service
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015
 
Ithemes presentation
Ithemes presentationIthemes presentation
Ithemes presentation
 
GDI - Intro to WordPress
GDI - Intro to WordPressGDI - Intro to WordPress
GDI - Intro to WordPress
 
WordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesWordPress Website Creation Training Course Slides
WordPress Website Creation Training Course Slides
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For Beginners
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014WordCamp Boston WordPress plugins-8-2014
WordCamp Boston WordPress plugins-8-2014
 
WordPress Fav Plugins & Security
WordPress Fav Plugins & SecurityWordPress Fav Plugins & Security
WordPress Fav Plugins & Security
 
No more “cowboy coding”
No more “cowboy coding”No more “cowboy coding”
No more “cowboy coding”
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT
 
Wordpress ppt
Wordpress pptWordpress ppt
Wordpress ppt
 
Shifting WordPress from Manual to Automattic
Shifting WordPress from Manual to AutomatticShifting WordPress from Manual to Automattic
Shifting WordPress from Manual to Automattic
 
WordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopWordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshop
 
WordPress(The Big Picture)
WordPress(The Big Picture)WordPress(The Big Picture)
WordPress(The Big Picture)
 

Viewers also liked

Building and Maintaining A Remote Workforce - A Startup Story
Building and Maintaining A Remote Workforce - A Startup StoryBuilding and Maintaining A Remote Workforce - A Startup Story
Building and Maintaining A Remote Workforce - A Startup StorySucuri
 
Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content  Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content Christine Pollock
 
Using Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnUsing Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnBrian Hogg
 
You have 2 hands Toronto
You have 2 hands TorontoYou have 2 hands Toronto
You have 2 hands TorontoShayda Torabi
 
WordCamp Toronto 2015- API Simple Talk
WordCamp Toronto 2015- API Simple TalkWordCamp Toronto 2015- API Simple Talk
WordCamp Toronto 2015- API Simple Talkting-y
 
Help Me Help You: Practical Tips for Designers from A WordPress Developer
Help Me Help You: Practical Tips for Designers from A WordPress DeveloperHelp Me Help You: Practical Tips for Designers from A WordPress Developer
Help Me Help You: Practical Tips for Designers from A WordPress Developerdaraskolnick
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testingscotchfield
 
A Noob's Journey to the Core
A Noob's Journey to the CoreA Noob's Journey to the Core
A Noob's Journey to the CoreRyan Welcher
 
How I Made a Career Using WordPress Without Knowing a Line of Code
How I Made a Career Using WordPress Without Knowing a Line of CodeHow I Made a Career Using WordPress Without Knowing a Line of Code
How I Made a Career Using WordPress Without Knowing a Line of CodeAndrea Zoellner
 
Writing Secure Code for WordPress
Writing Secure Code for WordPressWriting Secure Code for WordPress
Writing Secure Code for WordPressShawn Hooper
 
Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Jesse Emmanuel Rosario
 
How to use CSS3 in WordPress
How to use CSS3 in WordPressHow to use CSS3 in WordPress
How to use CSS3 in WordPressSuzette Franck
 
Multilingual content with WordPress
Multilingual content with WordPressMultilingual content with WordPress
Multilingual content with WordPressDesaulniers-Simard
 
Content Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyContent Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyJamie Schmid
 
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesHow to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesBrendan Sera-Shriar
 
Creating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsCreating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsR-Cubed Design Forge
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceAndrew Wikel
 

Viewers also liked (20)

Building and Maintaining A Remote Workforce - A Startup Story
Building and Maintaining A Remote Workforce - A Startup StoryBuilding and Maintaining A Remote Workforce - A Startup Story
Building and Maintaining A Remote Workforce - A Startup Story
 
Mystery solved pages vs posts
Mystery solved pages vs postsMystery solved pages vs posts
Mystery solved pages vs posts
 
Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content  Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content
 
Using Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnUsing Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your Own
 
You have 2 hands Toronto
You have 2 hands TorontoYou have 2 hands Toronto
You have 2 hands Toronto
 
WordCamp Toronto 2015- API Simple Talk
WordCamp Toronto 2015- API Simple TalkWordCamp Toronto 2015- API Simple Talk
WordCamp Toronto 2015- API Simple Talk
 
Help Me Help You: Practical Tips for Designers from A WordPress Developer
Help Me Help You: Practical Tips for Designers from A WordPress DeveloperHelp Me Help You: Practical Tips for Designers from A WordPress Developer
Help Me Help You: Practical Tips for Designers from A WordPress Developer
 
Wordcamp_mcglade_ux_mashups
Wordcamp_mcglade_ux_mashupsWordcamp_mcglade_ux_mashups
Wordcamp_mcglade_ux_mashups
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testing
 
A Noob's Journey to the Core
A Noob's Journey to the CoreA Noob's Journey to the Core
A Noob's Journey to the Core
 
Ecomm 101
Ecomm 101Ecomm 101
Ecomm 101
 
How I Made a Career Using WordPress Without Knowing a Line of Code
How I Made a Career Using WordPress Without Knowing a Line of CodeHow I Made a Career Using WordPress Without Knowing a Line of Code
How I Made a Career Using WordPress Without Knowing a Line of Code
 
Writing Secure Code for WordPress
Writing Secure Code for WordPressWriting Secure Code for WordPress
Writing Secure Code for WordPress
 
Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)
 
How to use CSS3 in WordPress
How to use CSS3 in WordPressHow to use CSS3 in WordPress
How to use CSS3 in WordPress
 
Multilingual content with WordPress
Multilingual content with WordPressMultilingual content with WordPress
Multilingual content with WordPress
 
Content Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyContent Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content Strategy
 
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesHow to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
 
Creating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsCreating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and Plugins
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerce
 

Similar to Best Friend || Worst Enemy: WordPress Multisite

WordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’tsWordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’tsTaylor McCaslin
 
Introduction to WordPress Multisite
Introduction to WordPress MultisiteIntroduction to WordPress Multisite
Introduction to WordPress MultisiteCraig Taylor
 
Wordpress Meetup
Wordpress MeetupWordpress Meetup
Wordpress MeetupCodal
 
How QCLean Works? Introduction to Browser Extensions
How QCLean Works? Introduction to Browser ExtensionsHow QCLean Works? Introduction to Browser Extensions
How QCLean Works? Introduction to Browser ExtensionsQing-Cheng Li
 
Importance of insights into multisite
Importance of insights into multisiteImportance of insights into multisite
Importance of insights into multisiteHarshit Sanghvi
 
WordPress: After The Install
WordPress: After The InstallWordPress: After The Install
WordPress: After The InstallWordPress NYC
 
You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)Igalia
 
ResellerClub Ctrl+F5 - WordPress Security session
ResellerClub Ctrl+F5 - WordPress Security sessionResellerClub Ctrl+F5 - WordPress Security session
ResellerClub Ctrl+F5 - WordPress Security sessionPratik Jagdishwala
 
Wordpress Workshop: Session One
Wordpress Workshop: Session OneWordpress Workshop: Session One
Wordpress Workshop: Session OneWP Web Wizards
 
There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010Emma Jane Hogbin Westby
 
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress MultisiteWPMU DEV
 
Discover the power of browser developer tools
Discover the power of browser developer toolsDiscover the power of browser developer tools
Discover the power of browser developer toolsylefebvre
 
Create a site with Multisite plugin WordPress
Create a site with Multisite plugin WordPressCreate a site with Multisite plugin WordPress
Create a site with Multisite plugin WordPressShubham Vijay
 
Multisite: Lessons I Learned the Hard Way
Multisite: Lessons I Learned the Hard WayMultisite: Lessons I Learned the Hard Way
Multisite: Lessons I Learned the Hard Waysusanwrotethis
 
20131008 - Wajug - TweetWall Pro
20131008 - Wajug - TweetWall Pro20131008 - Wajug - TweetWall Pro
20131008 - Wajug - TweetWall ProPascal Alberty
 
Extending WordPress' TinyMCE
Extending WordPress' TinyMCEExtending WordPress' TinyMCE
Extending WordPress' TinyMCEHristo Chakarov
 
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...ResellerClub
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysEric Sembrat
 
How to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesHow to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesPratik Jagdishwala
 

Similar to Best Friend || Worst Enemy: WordPress Multisite (20)

WordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’tsWordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’ts
 
Introduction to WordPress Multisite
Introduction to WordPress MultisiteIntroduction to WordPress Multisite
Introduction to WordPress Multisite
 
Wordpress Meetup
Wordpress MeetupWordpress Meetup
Wordpress Meetup
 
How QCLean Works? Introduction to Browser Extensions
How QCLean Works? Introduction to Browser ExtensionsHow QCLean Works? Introduction to Browser Extensions
How QCLean Works? Introduction to Browser Extensions
 
Importance of insights into multisite
Importance of insights into multisiteImportance of insights into multisite
Importance of insights into multisite
 
WordPress: After The Install
WordPress: After The InstallWordPress: After The Install
WordPress: After The Install
 
You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)
 
ResellerClub Ctrl+F5 - WordPress Security session
ResellerClub Ctrl+F5 - WordPress Security sessionResellerClub Ctrl+F5 - WordPress Security session
ResellerClub Ctrl+F5 - WordPress Security session
 
Mul-ti-site!
Mul-ti-site!Mul-ti-site!
Mul-ti-site!
 
Wordpress Workshop: Session One
Wordpress Workshop: Session OneWordpress Workshop: Session One
Wordpress Workshop: Session One
 
There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010
 
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
2014 WordCamp Austin: Do's and Don'ts of WordPress Multisite
 
Discover the power of browser developer tools
Discover the power of browser developer toolsDiscover the power of browser developer tools
Discover the power of browser developer tools
 
Create a site with Multisite plugin WordPress
Create a site with Multisite plugin WordPressCreate a site with Multisite plugin WordPress
Create a site with Multisite plugin WordPress
 
Multisite: Lessons I Learned the Hard Way
Multisite: Lessons I Learned the Hard WayMultisite: Lessons I Learned the Hard Way
Multisite: Lessons I Learned the Hard Way
 
20131008 - Wajug - TweetWall Pro
20131008 - Wajug - TweetWall Pro20131008 - Wajug - TweetWall Pro
20131008 - Wajug - TweetWall Pro
 
Extending WordPress' TinyMCE
Extending WordPress' TinyMCEExtending WordPress' TinyMCE
Extending WordPress' TinyMCE
 
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 Days
 
How to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesHow to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websites
 

Recently uploaded

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 

Recently uploaded (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

Best Friend || Worst Enemy: WordPress Multisite

  • 1. @Taylor4484 #multisite #WCTO Best Friend || Worst Enemy Multisite Network Do’s & Don’ts presented by Taylor McCaslin at WordCamp Toronto on October 3, 2015
  • 2. @Taylor4484 #multisite #WCTO @Taylor4484 #multisite (follow me for the link to these slides & tweet your photos!)
  • 3. @Taylor4484 #multisite #WCTO Technical Product Manager UX Designer Interaction Designer BA, Theatre & Dance Certificates in Business, Computer Science, Digital Art & Media Taylor McCaslin
  • 4. @Taylor4484 #multisite #WCTO Disclaimer ● My advice is based on my experience with what has worked for me in the past ● Every project is unique ● There is an exception to every rule I makeup ● Plugins will do everything I say multisite won’t or shouldn’t
  • 5. @Taylor4484 #multisite #WCTO What people are saying ● “I tried to use multisite to manage multiple sites and just got myself confused” ● “Multisite is amazing, why would anyone not use it?” ● “Multisite is hard” ● “We had a project that was running multisite and we converted it to a standard wordpress install” ● “I don’t use anything but multisite”
  • 6. @Taylor4484 #multisite #WCTO How it’s being used “Multisite is now a utility for managing multiple sites using one installation, where as the original vision was to enable blogging networks“ @jjj on make.wordpress.org/core
  • 7.
  • 10. @Taylor4484 #multisite #WCTO What is Multisite? ● A multisite network is a collection of site that all share the same single WordPress installation ● Terminology ○ Install: an instance or installation of WordPress ○ Network: a set of subsites that operate within the single WordPress install configured for multisite ○ Site: one of the subsites in the multisite network
  • 11. @Taylor4484 #multisite #WCTO What ISN’T Multisite? ● A network of sites that can be moved to separate hosts ○ 1 host. 1 install of WordPress. Many sites. ● A set of sites that can easily be separated into their own WordPress installs ○ trust me, modifying serialized data is not fun ● A set of sites that can have different IP addresses ○ see the first point
  • 12. @Taylor4484 #multisite #WCTO A big happy multisite apartment Multisite networks are like apartment complexes. ● Shared roof (hosting) ● Common spaces (filesystem) ● Private apartments (sites) Be a good neighbor Don’t trust strangers! Always Lock your apartment door
  • 13. @Taylor4484 #multisite #WCTO The Network Admin /wp-admin/network
  • 14. @Taylor4484 #multisite #WCTO Open or Closed Site? ● Terminology is hard…. and confusing Public Network / Untrusted ● Anyone can signup and create a site (sometimes paid) ○ WordPress.com ○ Happytables.com ○ University Student Blogs ● Concerns: ○ file types / uploads ○ scripts / embeds ○ copyright / DMCA Private Network / Trusted ● Limited site and user creation ○ Wordcamp.org ○ Company intranets ○ University network ■ colleges ,department, etc ● Concerns: ○ too many cooks ○ or none at all ○ code changes affect all sites!
  • 15. @Taylor4484 #multisite #WCTO Subfolders, Subdomains, & Domain Mapping ● 1 primary network domain ○ sub-domain (I prefer this one) ■ mysite.com ■ site2.mysite.com ■ site3.mysite.com ○ sub-folder ■ mysite.com/site1 ■ mysite.com/site2 ■ mysite.com/site3 ● Domain Mapping ○ Github.com/humanmade/Mercator ■ sunrise.php ○ Premium plugins exist for selling domains to users (wpmudev.org)
  • 17. @Taylor4484 #multisite #WCTO Unified Site Management ● Super Admin Role ● manage_network ● manage_sites ● manage_network_users ● manage_network_plugins ● manage_network_themes ● manage_network_options ● unfiltered_html codex.wordpress.org/Roles_and_Capabilities
  • 18. @Taylor4484 #multisite #WCTO Shared Users ● All blogs have central user management ● Users login once to access all sites on the network ○ Doesn’t play well with 2FA plugins ■ You’ll login for every site ■ Duo2, Google Auth, Two Factor Auth, etc
  • 19. @Taylor4484 #multisite #WCTO Shared Users ● Caution: User profiles are the same for all sites
  • 21. @Taylor4484 #multisite #WCTO Shared Themes ● Add a theme ○ Network Enable (all sites) ○ Restrict themes available to use per site ■ Done through the Site -> Edit Site menu in network admin ● Changes to one theme WILL affect all sites using it
  • 22. @Taylor4484 #multisite #WCTO Child Themes on Multisite https://wordpress.org/plugins/one-click-child-theme/
  • 23. @Taylor4484 #multisite #WCTO Shared Plugins ● Install plugins on the network (for your site admins) ○ Activate per site (wp-admin) ○ Network Activate (network admin) ● Must Use Plugins ○ Can’t be deactivated through the admin
  • 25. @Taylor4484 #multisite #WCTO File Structure Differences ❏ wp-config.php has extra lines ❏ .htaccess has extra lines ❏ wp-content/sunrise.php if you are using domain mapping ❏ wp-content has extra subfolders
  • 26. @Taylor4484 #multisite #WCTO File Structure Differences Pro tip: rely on host to allow you to grant your site admins access to only specific site directories
  • 27. @Taylor4484 #multisite #WCTO DB Structure Differences Normal WordPress (10) wp_options wp_posts wp_postmeta wp_comments wp_commentmeta wp_terms wp_term_taxonomy wp_term_relationships wp_users* wp_usermeta* Multisite Specific (10 + 6) wp_blogs wp_blog_versions wp_registration_log wp_signups wp_site wp_sitemeta PER Multisite (10 + 6 + (N * 8)) wp_2_options wp_2_posts wp_2_postmeta wp_2_comments wp_2_commentmeta wp_2_terms wp_2_term_taxonomy wp_2_term_relationships
  • 28. @Taylor4484 #multisite #WCTO Tables in ONE multisite DB (10 + 6 + (N * 8)) where n is number of sites 1 site = 24 tables 10 sites = 96 tables 100 sites = 816 tables 1,000 sites = 8,016 tables 10,000 sites = 80,016 tables 95,000,000 sites = 296,000,016 tables WordPress.com, July 2015
  • 29. @Taylor4484 #multisite #WCTO Choosing the right Hosting ● Use a managed host ● Pro-Tips: ○ automatic backups with 1 click restore (ability to download backup) ○ built in staging sites (that magically with the networked sites) ○ granular deploy to production controls (deploy only specific tables) ○ look for extra security features (like automatic ip blacklisting) ○ know limitations (some hosts don’t allow subdomains or subfolders) ○ use version control ● MMSN (massive multisite network) ○ plan to spend $$$$ or hire a sysadmin
  • 30. @Taylor4484 #multisite #WCTO Pro Dev Do’s ● define('DISALLOW_FILE_EDIT', true); ○ disable the Admin File Editor ● define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); ○ For large sites: prevents dbDelta() and the upgrade functions from doing expensive queries against global tables
  • 31. @Taylor4484 #multisite #WCTO Multisite Plugin Developer Do’s ● Consider your Network and WP-Admin settings ○ Split out these settings if needed ● Cleanup site options on delete ○ delete_site_option( $option_name ); ○ can be expensive ● Cleanup custom site tables on delete ● Consider how licensing will work for Networks
  • 32. @Taylor4484 #multisite #WCTO Pro Dev Do’s ● add_action( ‘network_admin_menu’, ‘my-settings’ ); ○ add extra submenus and menu options to the network admin panel'
  • 33. @Taylor4484 #multisite #WCTO Multisite Theme Developers Do’s ● Create Child Themes for your Themes ● Consider how licensing will work for Networks
  • 34. @Taylor4484 #multisite #WCTO Pro Dev Dont’s ● current_user_can(‘unfiltered_html’) ○ “Allows user to post HTML markup or even JavaScript code in pages, posts, comments and widgets.” ○ Just don’t. You will regret this. ● loop through your network sites ○ Unless you know what you’re doing, you’ll cripple your site performance, if not crashing your site altogether.
  • 36. @Taylor4484 #multisite #WCTO To multisite or not? “I want to allow users to create their own sites within a network with some constraints”
  • 37. @Taylor4484 #multisite #WCTO To multisite or not? “I want to allow users to create their own sites within a network with some constraints” ● Use Multisite! ○ This is what multisite was made to do, and it does it well! ● Pro-Tip: customize the admin! ○ WordPress.com ○ Happytables.com
  • 38. @Taylor4484 #multisite #WCTO Happy Tables Custom WP Admin
  • 39. @Taylor4484 #multisite #WCTO To multisite or not? “I want to centrally manage all my client’s sites”
  • 40. @Taylor4484 #multisite #WCTO To multisite or not? “I want to centrally manage all my client’s sites” ● Don’t use Multisite ● Alternatives: ○ Jetpack Site Management (update plugins across your site) ○ WP Remote (free, hosted) ○ Manage WP (premium, hosted) ○ Infinite WP (free, self-hosted with paid addons) ○ WP-CLI (script your way to site nirvana)
  • 41. @Taylor4484 #multisite #WCTO To multisite or not? “I want to have a multisite network where each site is in a different language”
  • 42. @Taylor4484 #multisite #WCTO To multisite or not? “I want to have a multisite network where each site is in a different language” ● Maybe Multisite, Maybe Not ● SEO optimization can be difficult when similar content is across a network of sites ○ Pro-tip: hreflang tags and canonical links are your friend ● Plugins like WPML are built specifically to do this
  • 43. @Taylor4484 #multisite #WCTO To multisite or not? “I have a lot of content that is very different, and I want all my sites to look different, but it’s still all my content”
  • 44. @Taylor4484 #multisite #WCTO To multisite or not? “I have a lot of content that is very different, and I want all my sites to look different, but it’s still all my stuff” ● Most likely not Multisite, but maybe ● Map domains to categories and tags ● Create custom templates for custom posts types, and category archives
  • 45. @Taylor4484 #multisite #WCTO Best Friend || Worst Enemy Multisite Network Do’s & Don’ts presented by Taylor McCaslin at WordCamp Toronto on October 3, 2015