SlideShare a Scribd company logo
Multisite:
Lessons I Learned the Hard Way
Susan Walker
susanwrotethis@gmail.com
www.linkedin.com/in/susanwrotethis
What is Multisite?
Multisite is a WordPress feature which allows users to create a
network of sites on a single WordPress installation.
Available since WordPress version 3.0, Multisite is a
continuation of WPMU or WordPress Multiuser project.
-- from wpbeginner.com
How Does it Work?
How Does it Work?
Multisite relies on two elements:
• lots of database tables
• magic dust
Some WordPress tables found
on a single-site installation
Some WordPress tables found
on a multisite installation
…
Some WordPress tables found
on a multisite installation
…
Some WordPress tables found
on a multisite installation
global tables
Some WordPress tables found
on a multisite installation
The Magic Dust
WordPress stores a unique ID and
path for each blog in wp_blogs. As
the multisite loads, WP uses this info
to know which tables to pull content
and settings from.
The Multisite Admin
The multisite administrator is called
the Super Admin. Instead of a site
dashboard and admin menu, there
will be a network dashboard and
admin menu.
Multisite Terminology
In multisite, an individual site is
referred to as a blog. The terms “site”
and “network” normally refer to the
whole multisite.
Multisite Terminology
Sites can run as subdomains…
• www.example.edu
• math.example.edu
• history.example.edu
• finearts.example.edu
Multisite Terminology
… or as subdirectories:
• www.example.edu
• www.example.edu/math
• www.example.edu/history
• www.example.edu/finearts
Who Uses Multisite?
Who Uses Multisite?
Multisite is a good fit if you have web
sites with commonalities:
• site purpose
• content ownership
• design (themes)
• functionality (plugins)
Who Uses Multisite?
Examples:
• a professional group’s blogs
• a chain with location-specific sites
• an arts organization’s events
• university department sites
Who Uses Multisite?
It’s useful if you have a number of
related sites, especially when you
have limited resources with which to
manage them.
WARNING
Multisite documentation may be incomplete,
outdated or missing entirely. You have to learn
a lot of it by trial and error.
(Part of)
the
Missing Manual
I. Getting Started
Will you:
• have enough server resources?
• use subdomains or subdirectories?
• need wildcard SSL?
I. Getting Started
Will you:
• have enough server resources?
• use subdomains or subdirectories?
• need wildcard SSL?
I. Getting Started
Will you:
• have enough server resources?
• use subdomains or subdirectories?
• need wildcard SSL?
I. Getting Started
Will you:
• have enough server resources?
• use subdomains or subdirectories?
• need wildcard SSL?
II. Creating Sites
Remember to:
• use a site naming convention
• avoid page and site naming conflicts
II. Creating Sites
Remember to:
• use a site naming convention
• avoid page and site naming conflicts
II. Creating Sites
Remember to:
• use a site naming convention
• avoid page and site naming conflicts
II. Creating Sites
You can’t use slugs twice. That is,
www.example.edu/biology can’t be
both a page on the root site and a site
on its own.
III. Managing Plugins
You’ll need to:
• see if a plugin is multisite-friendly
• understand network activation
• avoid plugin overload
• consider activation access
III. Managing Plugins
You’ll need to:
• see if a plugin is multisite-friendly
• understand network activation
• avoid plugin overload
• consider activation access
III. Managing Plugins
Some plugins are built just for
multisite, some aren’t but work on it
fine, and others … not so much.
III. Managing Plugins
How can you tell?
• check the support forums
• ask the developer
• look in the uninstall file
Example 1 uninstall.php
Example 2 uninstall.php
III. Managing Plugins
You’ll need to:
• see if a plugin is multisite-friendly
• understand network activation
• avoid plugin overload
• consider activation access
Network activation of plugins
Multisite Plugin Manager
III. Managing Plugins
You’ll need to:
• see if a plugin is multisite-friendly
• understand network activation
• avoid plugin overload
• consider activation access
III. Managing Plugins
You’ll need to:
• see if a plugin is multisite-friendly
• understand network activation
• avoid plugin overload
• consider activation access
Network settings for plugin menu
IV. Modifying Themes
Never:
• modify theme code directly
• put non-theme code in functions.php
IV. Modifying Themes
Never:
• modify theme code directly
• put non-theme code in functions.php
IV. Modifying Themes
When you update a modified theme, your
code changes will be overwritten. Use a
child theme instead. Large multisites with
specific branding needs should consider
a custom theme.
Example custom theme
IV. Modifying Themes
Never:
• modify theme code directly
• put non-theme code in functions.php
IV. Modifying Themes
So, where do these changes go?
Save them in a PHP file and drop it
into:
wp-content/mu-plugins
IV. Modifying Themes
Must-use plugins make for a safe
alternative to functions.php mods.
• they load before regular plugins
• they can’t be deactivated
• they won’t be overwritten
Non-theme code mods
Must-use plugins
Must-use plugins
∞-I. Cleaning Up
WordPress is remarkable, but it’s not
self cleaning. Be prepared to clear up
the clutter that invariably accumulates
over time.
∞-I. Cleaning Up
You’ll probably need:
• an exit strategy for defunct sites
• a plan to clear unused accounts
• database maintenance tools
∞-I. Cleaning Up
You’ll probably need:
• an exit strategy for defunct sites
• a plan to clear unused accounts
• database maintenance tools
∞-I. Cleaning Up
You’ll probably need:
• an exit strategy for defunct sites
• a plan to clear unused accounts
• database maintenance tools
∞-I. Cleaning Up
You’ll probably need:
• an exit strategy for defunct sites
• a plan to clear unused accounts
• database maintenance tools
∞-I. Cleaning Up
Plugins are available to remove:
• options
• cron jobs
• roles and capabilities
• orphaned tables
∞-I. Cleaning Up
Back up your database before you
start!
∞-I. Cleaning Up
And don’t forget to dump unused media
files from sites. A lot of requests for
increased storage space would be
unnecessary if people deleted their
duplicate images.
What’s
Still Missing?
More Missing Manual
• managing roles and capabilities
• finding good multisite tools
• using scripts to update settings
• automating maintenance with cron
• writing sustainable, reusable code
• sharing content across sites
Final Word of Advice
Never test new themes, plugins or
scripts directly on production.
The one thing that’s scarier than seeing the White Screen of Death on your site …
… is seeing it on all of them.
Susan Walker
susanwrotethis@gmail.com
www.linkedin.com/in/susanwrotethis

More Related Content

What's hot

Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
LumosTech
 
Understanding WordPress Multisite
Understanding WordPress MultisiteUnderstanding WordPress Multisite
Understanding WordPress Multisite
Ryan Imel
 
WordPress Multisite
WordPress MultisiteWordPress Multisite
WordPress Multisite
Brad Williams
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
NicheTech Com. Solutions Pvt. Ltd.
 
Exploring WordPress Multisite
Exploring WordPress MultisiteExploring WordPress Multisite
Exploring WordPress Multisite
Lisa Sabin-Wilson
 
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
Taylor McCaslin
 
So What is This Thing Called WordPress?
So What is This Thing Called WordPress?So What is This Thing Called WordPress?
So What is This Thing Called WordPress?
Graham Armfield
 
Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large Network
William Earnhardt
 
A word press site even your mother can use
A word press site even your mother can useA word press site even your mother can use
A word press site even your mother can use
Jerrett Farmer
 
WordPress what is Wordpress
WordPress what is WordpressWordPress what is Wordpress
WordPress what is Wordpress
Shahid Husain
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap Unleashed
Rami Sayar
 
WordPress and Multisite
WordPress and MultisiteWordPress and Multisite
WordPress and Multisite
Andrea Rennick
 
WordPress Use Cases
WordPress Use CasesWordPress Use Cases
WordPress Use Cases
Amit Kumar Singh
 
How to be a Super Super-Admin - WCMTL 2014
How to be a Super Super-Admin - WCMTL 2014How to be a Super Super-Admin - WCMTL 2014
How to be a Super Super-Admin - WCMTL 2014
Richard Archambault
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
OpenSource Technologies Pvt. Ltd.
 
Building a WordPress Powered Website
Building a WordPress Powered WebsiteBuilding a WordPress Powered Website
Building a WordPress Powered Website
DeltinaU
 
WordPress by a Dummy
WordPress by a DummyWordPress by a Dummy
WordPress by a Dummy
Jerrett Farmer
 
Introduction to WordPress
Introduction to WordPress Introduction to WordPress
Introduction to WordPress
Middlesex University
 
An example of cms - wordpress
An example of cms - wordpressAn example of cms - wordpress
An example of cms - wordpress
Eunus Hosen
 
Ten Things You Should Know About WordPress
Ten Things You Should Know About WordPressTen Things You Should Know About WordPress
Ten Things You Should Know About WordPress
sereedmedia
 

What's hot (20)

Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Understanding WordPress Multisite
Understanding WordPress MultisiteUnderstanding WordPress Multisite
Understanding WordPress Multisite
 
WordPress Multisite
WordPress MultisiteWordPress Multisite
WordPress Multisite
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
 
Exploring WordPress Multisite
Exploring WordPress MultisiteExploring WordPress Multisite
Exploring 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’ts
 
So What is This Thing Called WordPress?
So What is This Thing Called WordPress?So What is This Thing Called WordPress?
So What is This Thing Called WordPress?
 
Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large Network
 
A word press site even your mother can use
A word press site even your mother can useA word press site even your mother can use
A word press site even your mother can use
 
WordPress what is Wordpress
WordPress what is WordpressWordPress what is Wordpress
WordPress what is Wordpress
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap Unleashed
 
WordPress and Multisite
WordPress and MultisiteWordPress and Multisite
WordPress and Multisite
 
WordPress Use Cases
WordPress Use CasesWordPress Use Cases
WordPress Use Cases
 
How to be a Super Super-Admin - WCMTL 2014
How to be a Super Super-Admin - WCMTL 2014How to be a Super Super-Admin - WCMTL 2014
How to be a Super Super-Admin - WCMTL 2014
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Building a WordPress Powered Website
Building a WordPress Powered WebsiteBuilding a WordPress Powered Website
Building a WordPress Powered Website
 
WordPress by a Dummy
WordPress by a DummyWordPress by a Dummy
WordPress by a Dummy
 
Introduction to WordPress
Introduction to WordPress Introduction to WordPress
Introduction to WordPress
 
An example of cms - wordpress
An example of cms - wordpressAn example of cms - wordpress
An example of cms - wordpress
 
Ten Things You Should Know About WordPress
Ten Things You Should Know About WordPressTen Things You Should Know About WordPress
Ten Things You Should Know About WordPress
 

Viewers also liked

Business Plan Template
Business Plan TemplateBusiness Plan Template
Business Plan Template
SGB Media Group
 
Presentación1 nticx
Presentación1 nticxPresentación1 nticx
Presentación1 nticx
Canndela20
 
Evan Martinez UWC Reference Letter
Evan Martinez UWC Reference LetterEvan Martinez UWC Reference Letter
Evan Martinez UWC Reference Letter
Evan Martinez
 
Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16
bilingualsanfer
 
Tutoriales 6
Tutoriales 6Tutoriales 6
маралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идеямаралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идея
Диана М
 
курманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решениекурманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решение
Айдана Курманова
 
QA Executive Resume
QA Executive ResumeQA Executive Resume
QA Executive Resume
Abhishek Kashid
 
10 minute resume cheat sheet
10 minute resume cheat sheet10 minute resume cheat sheet
10 minute resume cheat sheet
SGB Media Group
 
Do I Stay Or Do I Grow?
Do I Stay Or Do I Grow?Do I Stay Or Do I Grow?
Do I Stay Or Do I Grow?
Premier Agent | Zillow & Trulia
 
Adivina el número
Adivina el númeroAdivina el número
Adivina el número
Pilar Moro
 
Top 25 Most Beautiful Real Estate Websites
Top 25 Most Beautiful Real Estate WebsitesTop 25 Most Beautiful Real Estate Websites
Top 25 Most Beautiful Real Estate Websites
Placester
 
Teoría de-inventarios-
Teoría de-inventarios-Teoría de-inventarios-
Propuesta para la elaboración de la programación didáctica LOMCE
Propuesta para la elaboración de la programación didáctica LOMCEPropuesta para la elaboración de la programación didáctica LOMCE
Propuesta para la elaboración de la programación didáctica LOMCE
Javier Prieto Pariente
 
Estrategias metodológicas para educación inicial y 1º
Estrategias metodológicas para educación inicial y 1ºEstrategias metodológicas para educación inicial y 1º
Estrategias metodológicas para educación inicial y 1º
corpes
 
Trabajo de alba lissette
Trabajo de alba lissetteTrabajo de alba lissette
Trabajo de alba lissette
joseMiguel2191
 

Viewers also liked (16)

Business Plan Template
Business Plan TemplateBusiness Plan Template
Business Plan Template
 
Presentación1 nticx
Presentación1 nticxPresentación1 nticx
Presentación1 nticx
 
Evan Martinez UWC Reference Letter
Evan Martinez UWC Reference LetterEvan Martinez UWC Reference Letter
Evan Martinez UWC Reference Letter
 
Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16
 
Tutoriales 6
Tutoriales 6Tutoriales 6
Tutoriales 6
 
маралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идеямаралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идея
 
курманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решениекурманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решение
 
QA Executive Resume
QA Executive ResumeQA Executive Resume
QA Executive Resume
 
10 minute resume cheat sheet
10 minute resume cheat sheet10 minute resume cheat sheet
10 minute resume cheat sheet
 
Do I Stay Or Do I Grow?
Do I Stay Or Do I Grow?Do I Stay Or Do I Grow?
Do I Stay Or Do I Grow?
 
Adivina el número
Adivina el númeroAdivina el número
Adivina el número
 
Top 25 Most Beautiful Real Estate Websites
Top 25 Most Beautiful Real Estate WebsitesTop 25 Most Beautiful Real Estate Websites
Top 25 Most Beautiful Real Estate Websites
 
Teoría de-inventarios-
Teoría de-inventarios-Teoría de-inventarios-
Teoría de-inventarios-
 
Propuesta para la elaboración de la programación didáctica LOMCE
Propuesta para la elaboración de la programación didáctica LOMCEPropuesta para la elaboración de la programación didáctica LOMCE
Propuesta para la elaboración de la programación didáctica LOMCE
 
Estrategias metodológicas para educación inicial y 1º
Estrategias metodológicas para educación inicial y 1ºEstrategias metodológicas para educación inicial y 1º
Estrategias metodológicas para educación inicial y 1º
 
Trabajo de alba lissette
Trabajo de alba lissetteTrabajo de alba lissette
Trabajo de alba lissette
 

Similar to Multisite: Lessons I Learned the Hard Way

Making Multisite Work for You
Making Multisite Work for YouMaking Multisite Work for You
Making Multisite Work for You
drywallbmb
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenix
vegasgeek
 
Ultimate Guide to WordPress Multisite
Ultimate Guide to WordPress MultisiteUltimate Guide to WordPress Multisite
Ultimate Guide to WordPress Multisite
Andrew Marks
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
Robert Vidal
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security Essentials
Angela Bowman
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
The Toolbox, Inc.
 
More Multisite for the Masses
More Multisite for the MassesMore Multisite for the Masses
More Multisite for the Masses
Richard Archambault
 
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
Eric Sembrat
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
Up2 Technology
 
Building Secure WordPress Sites
Building Secure WordPress Sites Building Secure WordPress Sites
Building Secure WordPress Sites
Catch Themes
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
WordCamp Sydney
 
Mul-ti-site!
Mul-ti-site!Mul-ti-site!
Mul-ti-site!
Denise (Dee) Teal
 
CMS Joomla
CMS JoomlaCMS Joomla
CMS Joomla
The eCore Group
 
WordPress Security
WordPress SecurityWordPress Security
WordPress Security
Ivan Storck
 
How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014
Primary Image Ltd
 
CALM Wordpress 102
CALM Wordpress 102CALM Wordpress 102
CALM Wordpress 102
darren_puscas
 
Wordpress intro
Wordpress introWordpress intro
Wordpress intro
the-colab
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
MuhammadUsaid2
 
Everything WordPress
Everything WordPressEverything WordPress
Everything WordPress
Eric Myers
 
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
darren_puscas
 

Similar to Multisite: Lessons I Learned the Hard Way (20)

Making Multisite Work for You
Making Multisite Work for YouMaking Multisite Work for You
Making Multisite Work for You
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenix
 
Ultimate Guide to WordPress Multisite
Ultimate Guide to WordPress MultisiteUltimate Guide to WordPress Multisite
Ultimate Guide to WordPress Multisite
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security Essentials
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
More Multisite for the Masses
More Multisite for the MassesMore Multisite for the Masses
More Multisite for the Masses
 
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
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Building Secure WordPress Sites
Building Secure WordPress Sites Building Secure WordPress Sites
Building Secure WordPress Sites
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
 
Mul-ti-site!
Mul-ti-site!Mul-ti-site!
Mul-ti-site!
 
CMS Joomla
CMS JoomlaCMS Joomla
CMS Joomla
 
WordPress Security
WordPress SecurityWordPress Security
WordPress Security
 
How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014
 
CALM Wordpress 102
CALM Wordpress 102CALM Wordpress 102
CALM Wordpress 102
 
Wordpress intro
Wordpress introWordpress intro
Wordpress intro
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
 
Everything WordPress
Everything WordPressEverything WordPress
Everything WordPress
 
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
Wordpress 101 presentation - Canadian Association of Labour Media (CALM)
 

Recently uploaded

Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
ScyllaDB
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
Sease
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 

Recently uploaded (20)

Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 

Multisite: Lessons I Learned the Hard Way

Editor's Notes

  1. How multisite works may seem rather mysterious to novices.
  2. In a single-site installation of WordPress, there are fewer than a dozen tables, though plugins may add more. The table names are descriptive. For instance, wp_posts is where the posts may be found, and basic user information is in wp_users.
  3. On a multisite, each site has its own tables for posts, comments, terms and options. After the first site, often called the root site, the subsequent sites’ table names contain the ID number of the blog. So for the second site, the posts table will be wp_2_posts.
  4. Not all tables are duplicated. Some are shared by all sites. The wp_users table is one such global table.
  5. Other global tables include wp_blogs and wp_sites.
  6. The wp_blogs table is key to making multisite work. This is how WordPress knows which site on multisite is which.
  7. This is an example of what a network dashboard might look like. This particular dashboard has been customized to display information about the multisite and the sites on it.
  8. The Super Admin can see a list of sites that have been created on multisite.
  9. There is a Network Settings page for settings that will be shared by all sites.
  10. The terminology can be confusing. During this presentation each blog will be referred to as a site while the entire installation will be called a multisite or a network.
  11. Multisite is not a good fit for everyone. If you have several unrelated WordPress sites, trying to consolidate them into a single multisite is not necessarily the best way to manage them.
  12. Be prepared to Google a lot.
  13. The rest of this presentation will touch on information that many Super Admins have to learn from experience.
  14. Remember that just because you have one WordPress installation, you still to thing of server space in terms of the number of sites. A multisite on which each site has 150 MB of upload space will run into problems if you’re using budget hosting. You’ll also want to be sure to check with your hosting service in advance about restrictions, such as plugins they don’t allow.
  15. You’ll be prompted to make this choice when you set up your multisite. Certain multisite experts may recommend using subdomains for reasons that have to do with better SEO performance. For institutions trying to migrate existing sites with established identities, I’ve found that subdirectories provide more flexibility. You have the option of adding domains to selected sites using a domain mapping plugin.
  16. If you’re using subdomains or domain mapping, expect to need a wildcard SSL certificate. A subdirectory installation without domain mapping can use a single SSL certificate.
  17. Once you’re set up, think about a naming convention before setting up sites. You can change the site names later, but you’ll need to fix links and images after you do. Planning ahead saves work.
  18. If you think it can’t happen to you, consider this multisite where there are sites for Writer’s Conference, Writers’ House, Writers, Writing Workshops and the Writing program.
  19. Naming considerations for sites also apply to page names, known as slugs, on the root site.
  20. Selecting good plugins is an important task for multisite.
  21. More and better plugins are available for multisite than there were as little as two or three years ago, but you still need to check them out.
  22. The uninstall file can tell you a lot. In this case the plugin will uninstall its options from the root site, but it makes no provision for the other sites on a multisite. Those options will be left behind in the database.
  23. By comparison, this plugin gets a list of blogs and goes through each in turn to delete options from their respective tables.
  24. On multisite, a plugin can be network activated. This makes it active on all sites. At the same time, it doesn’t show up on the Plugins pages for individual sites and it can’t be deactivated by administrators of those sites.
  25. You’ll see the network activated plugins from the network admin area. There are some plugins that work well on multisite once they’re activated individually, but they don’t network activate properly.
  26. We use a plugin called Multisite Plugin Manager to activate these plugins across all sites at once to create the tables and other resources for each site that a network activation fails to create.
  27. Some Super Admins will install 100 or more plugins, but keeping the number to a minimum reduces the amount of maintenance overhead as well as the changes of a plugin conflict.
  28. You may not want to grant administrators of individual sites the ability to activate any plugin available. Say there are 100 sites and a particular plugin has been activated on 40 of them. Then an update comes through that forces you to make emergency settings changes to each site where the plugin is installed. If on those 40 sites only seven of them are actually using the plugin, the extra sites are hampering you from getting the job done as fast and efficiently as possible.
  29. The ability to enable site administrators to activate or deactivate available plugins is in the Network Settings.
  30. Many of the considerations for plugins apply to themes as well.
  31. Modifying theme codes directly is a bad habit of less experienced users. Never do it on multisite. When you modify theme code for one site on multisite, it changes it for all the sites using that theme.
  32. To provide users with design options without having to support six or seven custom themes, we created a single theme with skins that they can choose from the Customizer. This provides design flexibility with significantly less code to maintain.
  33. If you’ve ever seen a tutorial for modifying a WordPress feature by adding code to the theme’s functions.php file, don’t. If the code is to change site function rather than part of the theme, there’s a better option.
  34. Here’s an example of a must-use plugin many people would have put in functions.php. This one removes “Protected” and “Private” from password-protected and private post titles. It also customizes the excerpt text displayed for password-protected posts.
  35. The only difference between putting it in functions.php and saving it in mu-plugins is that you’ll need to add a few lines of metadata to the top of the must-use plugins file.
  36. The name, description and other information will appear in the network plugins information.
  37. If you clean up periodically, you have less mess to wade through to find and support your sites.
  38. We have a standard procedure that if a site has not launched a year after the space was created, we remove it from the system.
  39. Certain multisite experts may say to leave them in the system, but we delete users without any sites roughly every six months.
  40. In addition to the plugins that don’t clean up after themselves when they uninstall, there may be data left behind by plugins that have been permanently deactivated on certain sites. Settings, custom roles and capabilities and other data may be sitting in the sites’ tables.
  41. There are many other topics not covered by this presentation.
  42. We have a multisite installation that exists solely to find out all the ways I can cause things to blow up.