SlideShare a Scribd company logo
1 of 57
Exploring WordPress Multisite
@LisaSabinWilson | WordCamp Milwaukee 2012
About Your Presenter:
Lisa Sabin-Wilson
✤   Wisconsin (Go Pack!)
                                Lisa Sabin-Wilson
                                    Author of books.
✤   WordPress user since 2003       Designer of sites.
                                   Lover of WordPress.
✤   Author since 2006
                                http://lisasabin-wilson.com
                                     @LisaSabinWilson
✤   Twitter: @LisaSabinWilson
                                Thanks for coming!
WordPress Books


✤   WordPress For Dummies

✤   WordPress All In One

✤   WordPress Web Design For
    Dummies




@LisaSabinWilson | WordCamp Milwaukee 2012
Exploring WordPress Multisite
Run multiple sites with ONE installation of WordPress


@LisaSabinWilson | WordCamp Milwaukee 2012
Q&A
   Please hold questions until the end - there will be time!


@LisaSabinWilson | WordCamp Milwaukee 2012
The Who, What & Why of
      WordPress Multisite
@LisaSabinWilson | WordCamp Milwaukee 2012
What Is WordPress Multisite??

 ✤   Multi Site is what allows multiple WordPress web sites to be
     powered off a single install.

 ✤   Your WordPress site is already Multisite capable out of the box, it just
     needs to be activated with a single line of code added to the wp-
     config.php file.

 ✤   WordPress.com is the largest and most prominent example of
     Multisite at work. WordPress.com hosts over 400K blogs in their
     network

@LisaSabinWilson | WordCamp Milwaukee 2012
Why Use Multisite?

✤   Run multiple sites with one installation of WordPress.

✤   Saves time by upgrading multiple sites with one action.

✤   Install plugins and themes only once for multiple sites.

✤   Allow people to run a blog in your network.




@LisaSabinWilson | WordCamp Milwaukee 2012
Who Uses
Multisite??
Developers / Programmers
(a.k.a.: Geeks & Nerds)


Generally speaking - they don’t really *use*
Multisite - mostly they dive into Multisite in
order to tear it apart, break it and put it back
together again so they know how it works.
Who Uses
Multisite??
Small Business Owners


Some business models require multiple sites
under one roof. One such model is the
WordPress Theme Shop - many theme shop
owners use Multisite to provide demos of
their themes.
Who Uses
Multisite??
The Owner of Multiple Sites


People who own and operate more than one
or two web sites powered by WordPress will
sometimes utilize the Multisite feature to
make their life easier (more about that later!)
Who Uses
Multisite??
Community Managers


People who host and manage online
communities. In the past, this was limited to
discussion forums and maybe one blog. Now
they host multiple blogs from multiple users,
forums, member profiles and more.
Multisite
Showcase
WordPress.com
http://wordpress.com


The largest example of Multisite at work.
WordPress.com hosts over 400K blogs in their
network
Multisite
Showcase
Teach For Us
http://teachforus.org


Teach For Us is a successful example of using
WordPress in native multi-site mode. The
well-designed site supports more than 800
blogs.
Multisite
Showcase
NYTimes Blogs
http://nytimes.com/interactive/blogs


The more than 60 blogs at The New York
Times cover everything imaginable, ranging
from arts to economics.
Multisite
Showcase
CUNY Graduate School of Journalism
http://journalism.cuny.edu


CUNY utilizes Multisite to spotlight student
work from such areas as news, video, tech,
television and more.
Exploring WordPress Multisite:
Multisite Preparation
@LisaSabinWilson | WordCamp Milwaukee 2012
Before You Dive Into Multisite
Consider what you’re getting yourself into
Running a Blog
Network
✤   Respect user privacy.

✤   Increased responsibilities for the
    support needs of your
    community.

✤   Manage spam and splogs.

✤   Keep the server running
    smoothly.

✤   Provide your users with the
    features they want....and features
    that keep them coming back!
Managing
Multiple Sites
✤   It’s not impossible to go back to
    single user WordPress
    installations to manage your web
    sites - - but it ain’t easy either!

✤   Learning curve ahead - prepare
    yourself to re-learn a few of the
    standard WordPress tasks that
    you have become used to.

✤   Once a choice has been made on
    the URL structure (subdomain or
    subdirectory) - it is not easy to
    switch it. Thing this one through.
Multisite
Hosting
Environment


  How are you planning to use
 Multisite? A full blog network?
 A business venture? Managing
     just a few small sites?
Multisite
Hosting
Environment
  Web Hosting is an investment.

 If it is FAST and GOOD - it is not
               CHEAP.

If it is FAST and CHEAP - it is not
               GOOD.

If it is GOOD and CHEAP - it is not
               FAST.
Multisite
Hosting
Environment
          Shared Server:
  Multiple web sites hosted on a
 single server - sharing resources
  like CPU, Bandwidth, Memory
            and Space.

       Dedicated Server:
  One single web site hosted on
   one server. Does not share
   resources with other sites.
Multisite
Hosting
Environment

     Shared Server:
    Most economical.

   Dedicated Server:
    Most expensive.
Multisite
Hosting
Environment

 WordPress Multisite can be run
 on either a shared or dedicated
      hosting environment.

 Give strong consideration to the
 type of network you are running
   and if you can afford to share
          server resources.
Multisite
Hosting
Environment
    Community networks, in
particular, are resource intensive.
 When you invite users to utilize
  features on your site such as
publishing, uploading media and
participating in community - you
   are doubling/tripling your
           resource use.

As your community grows, so do
   your bandwidth, space and
 resource needs on your server.
Multisite
Hosting
Environment
   Control spam and splogs.

  Have a plan in place to combat
spam and splog signups on your
community. Spiders and bots can
 - and WILL - hit your site hard if
you do not have controls in place.

  Spam and Splog problems can
 really eat up CPU’s on a server.
WordPress Multisite Requirements

✤   Requires the basic WordPress installation on your hosting server:

    ✤   PHP version 5.2.5 or greater

    ✤   MySQL version 5.0 or greater

    ✤   Apache mod_rewrite (for pretty permalinks)




@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Requirements

✤   Make sure your hosting provider supports:

    ✤   Apache mod_rewrite (for pretty permalinks)

    ✤   Wildcard DNS
        This allows you to use the subdomain feature for Multisite. Wildcard
        domains allow you to use any word for the subdomain (that’s why its
        called “Wildcard”).




@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Subdomain or Subdirectory??


✤   The WordPress Multisite feature gives you two different ways to run a
    network of sites on your domain. You can use the subdomain option or the
    subdirectory option. The most popular option (and recommended
    structure) sets up subdomains for the sites created in your network.

✤

            SUBDOMAIN                          SUBDIRECTORY
            Main Site:                            Main Site:
       http://domain.com                     http://domain.com

http://site1.domain.com http://domain.com/site1
@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Subdomain or Subdirectory??


  The decision to configure your Multisite environment with a subdomain or
subdirectory URL structure is up to you - but here are a few things to consider:

✤   Subdomains require the Wildcard DNS.

✤   Subdomains are seen as separate URLS in search engines, thus are given
    separate results.

✤   Subdirectories are seen as ‘belonging’ to the main domain, they give more
    authority to the main domain.

✤   Domain mapping? It doesn’t matter which URL configuration you use.

@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Wildcard DNS




                WILDCARD DNS CONFIGURATION

Easy way out                Ask your web host to do it for you.

  Less easy                 Add a subdomain to your account:
(but still easy)                  *.yourdomain.com
                        Edit the httpd.conf file on your Apache
   Not easy
                                        server
@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Wildcard DNS :: Ask Your Host


Asking your web host to configure a Wildcard DNS for your hosting account


 Dear web host:

 I am installing WordPress Multisite on my hosting account and
 need to have a Wildcard DNS added for the following domain:
 mydomain.com.

 Please let me know if you can do this for me - or provide me
 with the steps I need to take.

 Thank you -

 Me.
WordPress Multisite Preparation
Wildcard DNS :: CPanel


    Add a subdomain to your hosting account: *.yourdomain.com
WordPress Multisite Preparation
Wildcard DNS :: WHM (Web Host Manager)


                                  Login to WHM
                          Click icon for DNS Functions
                          Click icon for Edit DNS Zone
                       Select the domain you’d like to edit

Under Add New Entries Below this Line, fill in the fields so that they look like:
                                      
                   *      14400       IN        A     1.2.3.4
                                           
                       where 1.2.3.4 is the IP of the account

@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Wildcard DNS :: WHM (Web Host Manager)


          Edit the DNS Zone for your domain via WHM:
WordPress Multisite Preparation
  Wildcard DNS :: httpd.conf



              Edit the httpd.conf file on your Apache Web Server
               (if you have access and know what you are doing!)

Log in as root and open the httpd.conf file (usually this file is located in /etc/
               httpd/conf) with a text editor such as vim or nano.

                Then find the VirtualHost entry for the website.

                                          .....

  @LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Wildcard DNS :: httpd.conf


               A VirtualHost entry will look something like this:

      <VirtualHost 67.15.245.5>
      ServerAlias www.yourdomain.com
      ServerAdmin webmaster@yourdomain.com
      DocumentRoot /home/yourdoma/public_html/you
      ServerName yourdomain.com
      User yourdoma
      Group yourdoma
      BytesLog /usr/local/apache/domlogs/yourdomain.com-bytes_log
      CustomLog /usr/local/apache/domlogs/yourdomain.com combined
      ScriptAlias /cgi-bin/ /home/yourdoma/public_html/you/cgi-bin/
      </VirtualHost>
                                        .....
@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress Multisite Preparation
Wildcard DNS :: httpd.conf


                                Change this line:

                   ServerAlias www.yourdomain.com

                                      to this:

                     ServerAlias *.yourdomain.com


                      Save your changes. Restart Apache.


@LisaSabinWilson | WordCamp Milwaukee 2012
Exploring WordPress Multisite:
Enabling & Configuring Multisite
@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
Gather the right tools



✤   What you will need:

    ✤   A text based editor like Notepad (PC) or Textmate (Mac)

    ✤   Access to your web server via FTP




@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
wp-config.php


✤   Connect to your web server via FTP

✤   Locate and download: wp-config.php
    (located in the root directory of your WordPress install)

✤   Open wp-config.php in your text editor of choice

✤   Find this line:
    define(‘DB_COLLATE’);

✤   Add this line on the next line:
    define ('WP_ALLOW_MULTISITE', true                ) ;

@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
wp-config.php
Activating Multisite
wp-config.php


✤   Save your edited version of wp-config.php

✤   Upload it to your server via FTP, replacing the original one.




@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
Network Setup


✤   Note the new menu item in your WordPress Dashboard: Tools --> Network
    Setup

✤   Click the Network Setup link to load the Create a Network of WordPress Sites
    page in your Dashboard

✤   Screenshot.




@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
Network Setup




      The final steps for Network Setup completion requires you to
      edit files on your web server - so have that Text Editor handy!




@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
blogs.dir


✤   Create a directory on your Web server called blogs.dir

    Your WordPress installation directory contains a folder labeled /wp-
    content/. In that folder, you create a new directory called blogs.dir. The
    entire path should look something like this: /public_html/wp-
    content/blogs.dir.

    This is the directory that stores all uploaded media (photos, videos, audio,
    and other media) within the network sites on your domain.




@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
wp-config.php


✤   Add the Network related configuration lines to the wp-config.php

    WordPress gives you up to seven lines of configuration rules that need to
    be added to the wp-config.php file:

    define('multisite', true);
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/ ';
     define( 'DOMAIN_CURRENT_SITE', 'localhost' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

@LisaSabinWilson | WordCamp Milwaukee 2012
Activating Multisite
.htaccess


 ✤   Add the Network related lines to the .htaccess:
     RewriteEngine On
     RewriteBase /
     RewriteRule ^index.php$ - [L]
     # uploaded files
     RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
     # add a trailing slash to /wp-admin
     RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
     RewriteCond %{REQUEST_FILENAME} -f [OR]
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule ^ - [L]
     RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
     RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
     RewriteRule . index.php [L]




@LisaSabinWilson | WordCamp Milwaukee 2012
Multisite Activation
Live demo




@LisaSabinWilson | WordCamp Milwaukee 2012
Exploring the Multisite Database



@LisaSabinWilson | WordCamp Milwaukee 2012
Single User WordPress Database
11 tables
Multisite Database
 6 new core tables added



*"   wp_blogs: contains one record per site and is used for site lookup.
*"   wp_blog_versions: used internally for upgrades.
*"   wp_registration_log: information on sites created when a user signs up
*"   wp_signups: contains information on users who signed up for the network.
*"   wp_site: This database table contains one record per WordPress network.
*"   wp_sitemeta: This database table contains network settings.




 @LisaSabinWilson | WordCamp Milwaukee 2012
Multisite Database
 Site tables


Each site in the network has it’s own grouping of tables in the database by site ID.

wp_2_options
wp_2_posts
wp_2_postmeta

The main site populates the original database tables and is not designated by ID
in the database schema.




 @LisaSabinWilson | WordCamp Milwaukee 2012
Exploring the Multisite Fileserver



@LisaSabinWilson | WordCamp Milwaukee 2012
/wp-content/blogs.dir

Uploaded files (media, images, etc) are saved in a folder that
               corresponds to the SITE ID:

             /wp-content/blogs.dir/2/files/



@LisaSabinWilson | WordCamp Milwaukee 2012
WordPress
 Multisite
Workshop
  Q&A

             Lisa Sabin-Wilson
                 Author of books.
                 Designer of sites.
                Lover of WordPress.

             http://lisasabin-wilson.com
                  @LisaSabinWilson

More Related Content

What's hot

Project Charter Management One Page Summary Presentation Report Infographic P...
Project Charter Management One Page Summary Presentation Report Infographic P...Project Charter Management One Page Summary Presentation Report Infographic P...
Project Charter Management One Page Summary Presentation Report Infographic P...
SlideTeam
 
Software project management
Software project managementSoftware project management
Software project management
R A Akerkar
 
1.1 The nature of software.ppt
1.1 The nature of software.ppt1.1 The nature of software.ppt
1.1 The nature of software.ppt
JAYAPRIYAR7
 

What's hot (20)

4 p’s of management spectrum and the w5hh principle
4 p’s of management spectrum and the w5hh principle4 p’s of management spectrum and the w5hh principle
4 p’s of management spectrum and the w5hh principle
 
Good/Bad Web Design
Good/Bad Web DesignGood/Bad Web Design
Good/Bad Web Design
 
Project Communication Plan PowerPoint Presentation Slides
Project Communication Plan PowerPoint Presentation SlidesProject Communication Plan PowerPoint Presentation Slides
Project Communication Plan PowerPoint Presentation Slides
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introduction
 
Library Management System Project in C
Library Management System Project in CLibrary Management System Project in C
Library Management System Project in C
 
Project Charter Management One Page Summary Presentation Report Infographic P...
Project Charter Management One Page Summary Presentation Report Infographic P...Project Charter Management One Page Summary Presentation Report Infographic P...
Project Charter Management One Page Summary Presentation Report Infographic P...
 
Software project management
Software project managementSoftware project management
Software project management
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
What Is Project Documentation
What Is Project DocumentationWhat Is Project Documentation
What Is Project Documentation
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
MAJOR PROJECT PRESENATION MENTAL HEALTH.pptx
MAJOR PROJECT PRESENATION MENTAL HEALTH.pptxMAJOR PROJECT PRESENATION MENTAL HEALTH.pptx
MAJOR PROJECT PRESENATION MENTAL HEALTH.pptx
 
Js ppt
Js pptJs ppt
Js ppt
 
Data science
Data scienceData science
Data science
 
PMP Course Presentation.pptx
PMP Course Presentation.pptxPMP Course Presentation.pptx
PMP Course Presentation.pptx
 
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
What’s The Difference Between Structured, Semi-Structured And Unstructured Data?
 
Web Design Proposal Powerpoint Presentation Slides
Web Design Proposal Powerpoint Presentation SlidesWeb Design Proposal Powerpoint Presentation Slides
Web Design Proposal Powerpoint Presentation Slides
 
Introduction to Web Development
Introduction to Web DevelopmentIntroduction to Web Development
Introduction to Web Development
 
Presentation of web designing
Presentation of web designingPresentation of web designing
Presentation of web designing
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web Development
 
1.1 The nature of software.ppt
1.1 The nature of software.ppt1.1 The nature of software.ppt
1.1 The nature of software.ppt
 

Viewers also liked

Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
Angela Meeker
 
Top Plugins for WordPress multisite
Top Plugins for WordPress multisiteTop Plugins for WordPress multisite
Top Plugins for WordPress multisite
Andrea Rennick
 

Viewers also liked (20)

WordPress Security from WordCamp NYC 2012
WordPress Security from WordCamp NYC 2012WordPress Security from WordCamp NYC 2012
WordPress Security from WordCamp NYC 2012
 
The code history of WordPress
The code history of WordPressThe code history of WordPress
The code history of WordPress
 
8,000 Sites and Counting: Running a *Huge* WordPress Service
8,000 Sites and Counting: Running a *Huge* WordPress Service8,000 Sites and Counting: Running a *Huge* WordPress Service
8,000 Sites and Counting: Running a *Huge* WordPress Service
 
WordPress Multisite General Overview
WordPress Multisite General OverviewWordPress Multisite General Overview
WordPress Multisite General Overview
 
Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
Extending WordPress Multisite for Fun and Profit by Angie Meeker at WordPress...
 
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
 
WordPress, WordPress Multisite y WordPress Multinetwork
WordPress, WordPress Multisite y WordPress MultinetworkWordPress, WordPress Multisite y WordPress Multinetwork
WordPress, WordPress Multisite y WordPress Multinetwork
 
WordPress Multisite
WordPress MultisiteWordPress Multisite
WordPress Multisite
 
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
 
Top Plugins for WordPress multisite
Top Plugins for WordPress multisiteTop Plugins for WordPress multisite
Top Plugins for WordPress multisite
 
Understanding WordPress Multisite
Understanding WordPress MultisiteUnderstanding WordPress Multisite
Understanding WordPress Multisite
 
Social selling : comment développer un avantage concurrentiel
Social selling : comment développer un avantage concurrentielSocial selling : comment développer un avantage concurrentiel
Social selling : comment développer un avantage concurrentiel
 
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography ReincarnatedWeb Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
 
CSS3 : Icon Fonts
CSS3 : Icon FontsCSS3 : Icon Fonts
CSS3 : Icon Fonts
 
Designing with Web Fonts: Type, Responsively
Designing with Web Fonts: Type, ResponsivelyDesigning with Web Fonts: Type, Responsively
Designing with Web Fonts: Type, Responsively
 
Optimize WordPress Like a Super Affiliate
Optimize WordPress Like a Super AffiliateOptimize WordPress Like a Super Affiliate
Optimize WordPress Like a Super Affiliate
 
Fonts, Licenses and Intellectual Property Law - Chicago Font Symposium
Fonts, Licenses and Intellectual Property Law - Chicago Font SymposiumFonts, Licenses and Intellectual Property Law - Chicago Font Symposium
Fonts, Licenses and Intellectual Property Law - Chicago Font Symposium
 
SANDOW: Universal Type Server Implementation Case Study
SANDOW: Universal Type Server Implementation Case StudySANDOW: Universal Type Server Implementation Case Study
SANDOW: Universal Type Server Implementation Case Study
 
Fonts in Publishing - What's the issue?
Fonts in Publishing - What's the issue?Fonts in Publishing - What's the issue?
Fonts in Publishing - What's the issue?
 
How To Effectively Train Autonomous Media Buyers
How To Effectively Train Autonomous Media BuyersHow To Effectively Train Autonomous Media Buyers
How To Effectively Train Autonomous Media Buyers
 

Similar to Exploring WordPress Multisite

Worcamp2012 make a wordpress multisite in 20mins
Worcamp2012 make a wordpress multisite in 20minsWorcamp2012 make a wordpress multisite in 20mins
Worcamp2012 make a wordpress multisite in 20mins
Chandra Prakash Thapa
 
Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins
Chandra Prakash Thapa: Make a WordPress Multisite in 20 minsChandra Prakash Thapa: Make a WordPress Multisite in 20 mins
Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins
wpnepal
 
Utsav Singh Rathour: How, Why and Where to use WordPress multisite
Utsav Singh Rathour: How, Why and Where to use WordPress multisiteUtsav Singh Rathour: How, Why and Where to use WordPress multisite
Utsav Singh Rathour: How, Why and Where to use WordPress multisite
wpnepal
 
When to use WordPress MultiSite WordCamp Nepal 2012
When to use WordPress MultiSite WordCamp Nepal 2012When to use WordPress MultiSite WordCamp Nepal 2012
When to use WordPress MultiSite WordCamp Nepal 2012
Utsav Singh Rathour
 

Similar to Exploring WordPress Multisite (20)

WordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesWordPress Website Creation Training Course Slides
WordPress Website Creation Training Course Slides
 
WP-Ultimo Guide
WP-Ultimo GuideWP-Ultimo Guide
WP-Ultimo Guide
 
Worcamp2012 make a wordpress multisite in 20mins
Worcamp2012 make a wordpress multisite in 20minsWorcamp2012 make a wordpress multisite in 20mins
Worcamp2012 make a wordpress multisite in 20mins
 
Up and Running with WordPress - Site Shack Nashville Web Design
Up and Running with WordPress - Site Shack Nashville Web DesignUp and Running with WordPress - Site Shack Nashville Web Design
Up and Running with WordPress - Site Shack Nashville Web Design
 
Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins
Chandra Prakash Thapa: Make a WordPress Multisite in 20 minsChandra Prakash Thapa: Make a WordPress Multisite in 20 mins
Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins
 
WordPress in 90 minutes
WordPress in 90 minutesWordPress in 90 minutes
WordPress in 90 minutes
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenix
 
simple basic wordpress ppt .pptx
simple basic wordpress ppt .pptxsimple basic wordpress ppt .pptx
simple basic wordpress ppt .pptx
 
The Step-By-Step WordPress Guide for your Websites!.pdf
The Step-By-Step WordPress Guide for your Websites!.pdfThe Step-By-Step WordPress Guide for your Websites!.pdf
The Step-By-Step WordPress Guide for your Websites!.pdf
 
More Multisite for the Masses
More Multisite for the MassesMore Multisite for the Masses
More Multisite for the Masses
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
Basic WordPress for Beginner ppt
Basic WordPress for Beginner pptBasic WordPress for Beginner ppt
Basic WordPress for Beginner ppt
 
UCSY CS Club Week1
UCSY CS Club Week1UCSY CS Club Week1
UCSY CS Club Week1
 
Utsav Singh Rathour: How, Why and Where to use WordPress multisite
Utsav Singh Rathour: How, Why and Where to use WordPress multisiteUtsav Singh Rathour: How, Why and Where to use WordPress multisite
Utsav Singh Rathour: How, Why and Where to use WordPress multisite
 
When to use WordPress MultiSite WordCamp Nepal 2012
When to use WordPress MultiSite WordCamp Nepal 2012When to use WordPress MultiSite WordCamp Nepal 2012
When to use WordPress MultiSite WordCamp Nepal 2012
 
937079
937079937079
937079
 
Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
A Beginners Guide to WordPress by Lee Ndegwa
A Beginners Guide to WordPress by Lee NdegwaA Beginners Guide to WordPress by Lee Ndegwa
A Beginners Guide to WordPress by Lee Ndegwa
 

More from Lisa Sabin-Wilson

Scoping Projects to avoid stress, headaches and angry mobs
Scoping Projects to avoid stress, headaches and angry mobsScoping Projects to avoid stress, headaches and angry mobs
Scoping Projects to avoid stress, headaches and angry mobs
Lisa Sabin-Wilson
 
Oh The Themes That You'll Do! - WordCamp Philly 2012
Oh The Themes That You'll Do! - WordCamp Philly 2012Oh The Themes That You'll Do! - WordCamp Philly 2012
Oh The Themes That You'll Do! - WordCamp Philly 2012
Lisa Sabin-Wilson
 

More from Lisa Sabin-Wilson (11)

You Should Charge More - - Design/Development Services Pricing
You Should Charge More - - Design/Development Services PricingYou Should Charge More - - Design/Development Services Pricing
You Should Charge More - - Design/Development Services Pricing
 
Internationalization: Preparing Your WordPress Theme for the Rest of the World
Internationalization: Preparing Your WordPress Theme for the Rest of the WorldInternationalization: Preparing Your WordPress Theme for the Rest of the World
Internationalization: Preparing Your WordPress Theme for the Rest of the World
 
Getting involved: Help Make WordPress
Getting involved: Help Make WordPressGetting involved: Help Make WordPress
Getting involved: Help Make WordPress
 
Scoping Projects to avoid stress, headaches and angry mobs
Scoping Projects to avoid stress, headaches and angry mobsScoping Projects to avoid stress, headaches and angry mobs
Scoping Projects to avoid stress, headaches and angry mobs
 
Oh The Themes That You'll Do! - WordCamp Philly 2012
Oh The Themes That You'll Do! - WordCamp Philly 2012Oh The Themes That You'll Do! - WordCamp Philly 2012
Oh The Themes That You'll Do! - WordCamp Philly 2012
 
Documenting Design: A Critical Step in Any Developers Workflow
Documenting Design: A Critical Step in Any Developers WorkflowDocumenting Design: A Critical Step in Any Developers Workflow
Documenting Design: A Critical Step in Any Developers Workflow
 
This is BuddyPress, Install it maybe
This is BuddyPress, Install it maybeThis is BuddyPress, Install it maybe
This is BuddyPress, Install it maybe
 
WordPress is for EVERYONE
WordPress is for EVERYONEWordPress is for EVERYONE
WordPress is for EVERYONE
 
Self Publishing - Web Based Author Tools by Lisa Sabin-Wilson
Self Publishing - Web Based Author Tools by Lisa Sabin-WilsonSelf Publishing - Web Based Author Tools by Lisa Sabin-Wilson
Self Publishing - Web Based Author Tools by Lisa Sabin-Wilson
 
Tips for running a successful web studio
Tips for running a successful web studioTips for running a successful web studio
Tips for running a successful web studio
 
Creating Community with BuddyPress
Creating Community with BuddyPressCreating Community with BuddyPress
Creating Community with BuddyPress
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 

Exploring WordPress Multisite

  • 2. About Your Presenter: Lisa Sabin-Wilson ✤ Wisconsin (Go Pack!) Lisa Sabin-Wilson Author of books. ✤ WordPress user since 2003 Designer of sites. Lover of WordPress. ✤ Author since 2006 http://lisasabin-wilson.com @LisaSabinWilson ✤ Twitter: @LisaSabinWilson Thanks for coming!
  • 3. WordPress Books ✤ WordPress For Dummies ✤ WordPress All In One ✤ WordPress Web Design For Dummies @LisaSabinWilson | WordCamp Milwaukee 2012
  • 4. Exploring WordPress Multisite Run multiple sites with ONE installation of WordPress @LisaSabinWilson | WordCamp Milwaukee 2012
  • 5. Q&A Please hold questions until the end - there will be time! @LisaSabinWilson | WordCamp Milwaukee 2012
  • 6. The Who, What & Why of WordPress Multisite @LisaSabinWilson | WordCamp Milwaukee 2012
  • 7. What Is WordPress Multisite?? ✤ Multi Site is what allows multiple WordPress web sites to be powered off a single install. ✤ Your WordPress site is already Multisite capable out of the box, it just needs to be activated with a single line of code added to the wp- config.php file. ✤ WordPress.com is the largest and most prominent example of Multisite at work. WordPress.com hosts over 400K blogs in their network @LisaSabinWilson | WordCamp Milwaukee 2012
  • 8. Why Use Multisite? ✤ Run multiple sites with one installation of WordPress. ✤ Saves time by upgrading multiple sites with one action. ✤ Install plugins and themes only once for multiple sites. ✤ Allow people to run a blog in your network. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 9. Who Uses Multisite?? Developers / Programmers (a.k.a.: Geeks & Nerds) Generally speaking - they don’t really *use* Multisite - mostly they dive into Multisite in order to tear it apart, break it and put it back together again so they know how it works.
  • 10. Who Uses Multisite?? Small Business Owners Some business models require multiple sites under one roof. One such model is the WordPress Theme Shop - many theme shop owners use Multisite to provide demos of their themes.
  • 11. Who Uses Multisite?? The Owner of Multiple Sites People who own and operate more than one or two web sites powered by WordPress will sometimes utilize the Multisite feature to make their life easier (more about that later!)
  • 12. Who Uses Multisite?? Community Managers People who host and manage online communities. In the past, this was limited to discussion forums and maybe one blog. Now they host multiple blogs from multiple users, forums, member profiles and more.
  • 13. Multisite Showcase WordPress.com http://wordpress.com The largest example of Multisite at work. WordPress.com hosts over 400K blogs in their network
  • 14. Multisite Showcase Teach For Us http://teachforus.org Teach For Us is a successful example of using WordPress in native multi-site mode. The well-designed site supports more than 800 blogs.
  • 15. Multisite Showcase NYTimes Blogs http://nytimes.com/interactive/blogs The more than 60 blogs at The New York Times cover everything imaginable, ranging from arts to economics.
  • 16. Multisite Showcase CUNY Graduate School of Journalism http://journalism.cuny.edu CUNY utilizes Multisite to spotlight student work from such areas as news, video, tech, television and more.
  • 17. Exploring WordPress Multisite: Multisite Preparation @LisaSabinWilson | WordCamp Milwaukee 2012
  • 18. Before You Dive Into Multisite Consider what you’re getting yourself into
  • 19. Running a Blog Network ✤ Respect user privacy. ✤ Increased responsibilities for the support needs of your community. ✤ Manage spam and splogs. ✤ Keep the server running smoothly. ✤ Provide your users with the features they want....and features that keep them coming back!
  • 20. Managing Multiple Sites ✤ It’s not impossible to go back to single user WordPress installations to manage your web sites - - but it ain’t easy either! ✤ Learning curve ahead - prepare yourself to re-learn a few of the standard WordPress tasks that you have become used to. ✤ Once a choice has been made on the URL structure (subdomain or subdirectory) - it is not easy to switch it. Thing this one through.
  • 21. Multisite Hosting Environment How are you planning to use Multisite? A full blog network? A business venture? Managing just a few small sites?
  • 22. Multisite Hosting Environment Web Hosting is an investment. If it is FAST and GOOD - it is not CHEAP. If it is FAST and CHEAP - it is not GOOD. If it is GOOD and CHEAP - it is not FAST.
  • 23. Multisite Hosting Environment Shared Server: Multiple web sites hosted on a single server - sharing resources like CPU, Bandwidth, Memory and Space. Dedicated Server: One single web site hosted on one server. Does not share resources with other sites.
  • 24. Multisite Hosting Environment Shared Server: Most economical. Dedicated Server: Most expensive.
  • 25. Multisite Hosting Environment WordPress Multisite can be run on either a shared or dedicated hosting environment. Give strong consideration to the type of network you are running and if you can afford to share server resources.
  • 26. Multisite Hosting Environment Community networks, in particular, are resource intensive. When you invite users to utilize features on your site such as publishing, uploading media and participating in community - you are doubling/tripling your resource use. As your community grows, so do your bandwidth, space and resource needs on your server.
  • 27. Multisite Hosting Environment Control spam and splogs. Have a plan in place to combat spam and splog signups on your community. Spiders and bots can - and WILL - hit your site hard if you do not have controls in place. Spam and Splog problems can really eat up CPU’s on a server.
  • 28. WordPress Multisite Requirements ✤ Requires the basic WordPress installation on your hosting server: ✤ PHP version 5.2.5 or greater ✤ MySQL version 5.0 or greater ✤ Apache mod_rewrite (for pretty permalinks) @LisaSabinWilson | WordCamp Milwaukee 2012
  • 29. WordPress Multisite Requirements ✤ Make sure your hosting provider supports: ✤ Apache mod_rewrite (for pretty permalinks) ✤ Wildcard DNS This allows you to use the subdomain feature for Multisite. Wildcard domains allow you to use any word for the subdomain (that’s why its called “Wildcard”). @LisaSabinWilson | WordCamp Milwaukee 2012
  • 30. WordPress Multisite Preparation Subdomain or Subdirectory?? ✤ The WordPress Multisite feature gives you two different ways to run a network of sites on your domain. You can use the subdomain option or the subdirectory option. The most popular option (and recommended structure) sets up subdomains for the sites created in your network. ✤ SUBDOMAIN SUBDIRECTORY Main Site: Main Site: http://domain.com http://domain.com http://site1.domain.com http://domain.com/site1 @LisaSabinWilson | WordCamp Milwaukee 2012
  • 31. WordPress Multisite Preparation Subdomain or Subdirectory?? The decision to configure your Multisite environment with a subdomain or subdirectory URL structure is up to you - but here are a few things to consider: ✤ Subdomains require the Wildcard DNS. ✤ Subdomains are seen as separate URLS in search engines, thus are given separate results. ✤ Subdirectories are seen as ‘belonging’ to the main domain, they give more authority to the main domain. ✤ Domain mapping? It doesn’t matter which URL configuration you use. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 32. WordPress Multisite Preparation Wildcard DNS WILDCARD DNS CONFIGURATION Easy way out Ask your web host to do it for you. Less easy Add a subdomain to your account: (but still easy) *.yourdomain.com Edit the httpd.conf file on your Apache Not easy server @LisaSabinWilson | WordCamp Milwaukee 2012
  • 33. WordPress Multisite Preparation Wildcard DNS :: Ask Your Host Asking your web host to configure a Wildcard DNS for your hosting account Dear web host: I am installing WordPress Multisite on my hosting account and need to have a Wildcard DNS added for the following domain: mydomain.com. Please let me know if you can do this for me - or provide me with the steps I need to take. Thank you - Me.
  • 34. WordPress Multisite Preparation Wildcard DNS :: CPanel Add a subdomain to your hosting account: *.yourdomain.com
  • 35. WordPress Multisite Preparation Wildcard DNS :: WHM (Web Host Manager) Login to WHM Click icon for DNS Functions Click icon for Edit DNS Zone Select the domain you’d like to edit Under Add New Entries Below this Line, fill in the fields so that they look like:   * 14400 IN A 1.2.3.4   where 1.2.3.4 is the IP of the account @LisaSabinWilson | WordCamp Milwaukee 2012
  • 36. WordPress Multisite Preparation Wildcard DNS :: WHM (Web Host Manager) Edit the DNS Zone for your domain via WHM:
  • 37. WordPress Multisite Preparation Wildcard DNS :: httpd.conf Edit the httpd.conf file on your Apache Web Server (if you have access and know what you are doing!) Log in as root and open the httpd.conf file (usually this file is located in /etc/ httpd/conf) with a text editor such as vim or nano. Then find the VirtualHost entry for the website. ..... @LisaSabinWilson | WordCamp Milwaukee 2012
  • 38. WordPress Multisite Preparation Wildcard DNS :: httpd.conf A VirtualHost entry will look something like this: <VirtualHost 67.15.245.5> ServerAlias www.yourdomain.com ServerAdmin webmaster@yourdomain.com DocumentRoot /home/yourdoma/public_html/you ServerName yourdomain.com User yourdoma Group yourdoma BytesLog /usr/local/apache/domlogs/yourdomain.com-bytes_log CustomLog /usr/local/apache/domlogs/yourdomain.com combined ScriptAlias /cgi-bin/ /home/yourdoma/public_html/you/cgi-bin/ </VirtualHost> ..... @LisaSabinWilson | WordCamp Milwaukee 2012
  • 39. WordPress Multisite Preparation Wildcard DNS :: httpd.conf Change this line: ServerAlias www.yourdomain.com to this: ServerAlias *.yourdomain.com Save your changes. Restart Apache. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 40. Exploring WordPress Multisite: Enabling & Configuring Multisite @LisaSabinWilson | WordCamp Milwaukee 2012
  • 41. Activating Multisite Gather the right tools ✤ What you will need: ✤ A text based editor like Notepad (PC) or Textmate (Mac) ✤ Access to your web server via FTP @LisaSabinWilson | WordCamp Milwaukee 2012
  • 42. Activating Multisite wp-config.php ✤ Connect to your web server via FTP ✤ Locate and download: wp-config.php (located in the root directory of your WordPress install) ✤ Open wp-config.php in your text editor of choice ✤ Find this line: define(‘DB_COLLATE’); ✤ Add this line on the next line: define ('WP_ALLOW_MULTISITE', true ) ; @LisaSabinWilson | WordCamp Milwaukee 2012
  • 44. Activating Multisite wp-config.php ✤ Save your edited version of wp-config.php ✤ Upload it to your server via FTP, replacing the original one. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 45. Activating Multisite Network Setup ✤ Note the new menu item in your WordPress Dashboard: Tools --> Network Setup ✤ Click the Network Setup link to load the Create a Network of WordPress Sites page in your Dashboard ✤ Screenshot. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 46. Activating Multisite Network Setup The final steps for Network Setup completion requires you to edit files on your web server - so have that Text Editor handy! @LisaSabinWilson | WordCamp Milwaukee 2012
  • 47. Activating Multisite blogs.dir ✤ Create a directory on your Web server called blogs.dir Your WordPress installation directory contains a folder labeled /wp- content/. In that folder, you create a new directory called blogs.dir. The entire path should look something like this: /public_html/wp- content/blogs.dir. This is the directory that stores all uploaded media (photos, videos, audio, and other media) within the network sites on your domain. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 48. Activating Multisite wp-config.php ✤ Add the Network related configuration lines to the wp-config.php WordPress gives you up to seven lines of configuration rules that need to be added to the wp-config.php file: define('multisite', true); define( 'SUBDOMAIN_INSTALL', false ); $base = '/ '; define( 'DOMAIN_CURRENT_SITE', 'localhost' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); @LisaSabinWilson | WordCamp Milwaukee 2012
  • 49. Activating Multisite .htaccess ✤ Add the Network related lines to the .htaccess: RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L] RewriteRule . index.php [L] @LisaSabinWilson | WordCamp Milwaukee 2012
  • 51. Exploring the Multisite Database @LisaSabinWilson | WordCamp Milwaukee 2012
  • 52. Single User WordPress Database 11 tables
  • 53. Multisite Database 6 new core tables added *" wp_blogs: contains one record per site and is used for site lookup. *" wp_blog_versions: used internally for upgrades. *" wp_registration_log: information on sites created when a user signs up *" wp_signups: contains information on users who signed up for the network. *" wp_site: This database table contains one record per WordPress network. *" wp_sitemeta: This database table contains network settings. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 54. Multisite Database Site tables Each site in the network has it’s own grouping of tables in the database by site ID. wp_2_options wp_2_posts wp_2_postmeta The main site populates the original database tables and is not designated by ID in the database schema. @LisaSabinWilson | WordCamp Milwaukee 2012
  • 55. Exploring the Multisite Fileserver @LisaSabinWilson | WordCamp Milwaukee 2012
  • 56. /wp-content/blogs.dir Uploaded files (media, images, etc) are saved in a folder that corresponds to the SITE ID: /wp-content/blogs.dir/2/files/ @LisaSabinWilson | WordCamp Milwaukee 2012
  • 57. WordPress Multisite Workshop Q&A Lisa Sabin-Wilson Author of books. Designer of sites. Lover of WordPress. http://lisasabin-wilson.com @LisaSabinWilson

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n