SlideShare una empresa de Scribd logo
1 de 68
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

Más contenido relacionado

La actualidad más candente

Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressLumosTech
 
Understanding WordPress Multisite
Understanding WordPress MultisiteUnderstanding WordPress Multisite
Understanding WordPress MultisiteRyan Imel
 
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 MultisiteLisa 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’tsTaylor 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 NetworkWilliam 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 useJerrett Farmer
 
WordPress what is Wordpress
WordPress what is WordpressWordPress what is Wordpress
WordPress what is WordpressShahid Husain
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedRami Sayar
 
WordPress and Multisite
WordPress and MultisiteWordPress and Multisite
WordPress and MultisiteAndrea Rennick
 
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 2014Richard Archambault
 
Building a WordPress Powered Website
Building a WordPress Powered WebsiteBuilding a WordPress Powered Website
Building a WordPress Powered WebsiteDeltinaU
 
An example of cms - wordpress
An example of cms - wordpressAn example of cms - wordpress
An example of cms - wordpressEunus 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 WordPresssereedmedia
 

La actualidad más candente (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
 

Destacado

Presentación1 nticx
Presentación1 nticxPresentación1 nticx
Presentación1 nticxCanndela20
 
Evan Martinez UWC Reference Letter
Evan Martinez UWC Reference LetterEvan Martinez UWC Reference Letter
Evan Martinez UWC Reference LetterEvan Martinez
 
Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16Presentacinseccinbilingue 15/16
Presentacinseccinbilingue 15/16bilingualsanfer
 
маралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идеямаралбаева диана+салон красоты+идея
маралбаева диана+салон красоты+идеяДиана М
 
курманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решениекурманова айдана+кондитерская фаас+решение
курманова айдана+кондитерская фаас+решениеАйдана Курманова
 
10 minute resume cheat sheet
10 minute resume cheat sheet10 minute resume cheat sheet
10 minute resume cheat sheetSGB Media Group
 
Adivina el número
Adivina el númeroAdivina el número
Adivina el númeroPilar 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 WebsitesPlacester
 
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 LOMCEJavier 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 lissettejoseMiguel2191
 

Destacado (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 a 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 Youdrywallbmb
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenixvegasgeek
 
Ultimate Guide to WordPress Multisite
Ultimate Guide to WordPress MultisiteUltimate Guide to WordPress Multisite
Ultimate Guide to WordPress MultisiteAndrew Marks
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best PracticesRobert Vidal
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security EssentialsAngela Bowman
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
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
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 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 2012WordCamp Sydney
 
WordPress Security
WordPress SecurityWordPress Security
WordPress SecurityIvan 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 2014Primary Image Ltd
 
Wordpress intro
Wordpress introWordpress intro
Wordpress introthe-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 WordPressEric 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 a 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)
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Multisite: Lessons I Learned the Hard Way

Notas del editor

  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.