• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
WordPress 3.0 MultiSite Features
 

WordPress 3.0 MultiSite Features

on

  • 7,806 views

 

Statistics

Views

Total Views
7,806
Views on SlideShare
7,613
Embed Views
193

Actions

Likes
2
Downloads
0
Comments
0

3 Embeds 193

http://developersmind.com 96
http://www.slideshare.net 93
http://www.linkedin.com 4

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    WordPress 3.0 MultiSite Features WordPress 3.0 MultiSite Features Presentation Transcript

    • WordPress 3.0 Multi Site Features Pete Mall WordCamp Orange County April 24, 2010
      • Pete Mall
      • WordPress Consultant
      • Joint Forces Technology Solutions
      • @petemall
      • [email_address]
      • developersmind.com
    • WordPress 3.0 MultiSite Features
      • Powers wordpress.com
      • Unlimited users and sites (blogs)
      • Independent permission, themes and plugins
      • Single Install = Easy to Manage
    • Requirements
      • PHP version 4.3 or greater
      • MySQL version 4.1.2
      • Apache mod_rewrite (Linux Hosting Recommended)
      • Wildcard CNAME record for subdomains
      • Avoid Shared Hosting
    • WordPress 3.0 Terminology
      • WP + MU = WP (with multisite)
      • Blogs in MU = Sites in WP 3.0
      • Site in MU = Network in WP 3.0
      • MultiSite in MU = MultiNetwork in WP 3.0
    • Installation
      • Download WordPress 3.0 (beta http://j.mp/wp3b1)
      • Unzip and Install
    • Activate MultiSite
      • Edit wp-config.php
      • Add: define( ‘WP_ALLOW_MULTISITE’, true );
      • Tools >> Network
      • Sub-domains vs Sub-directories
        • site1.domain.com vs domain.com/site
      • Create directory wp-content/blogs.dir
      • Edit wp-config.php and .htaccess
    • Sub-domains
      • DNS Wildcard Record
      • *.domain.com. 14400 IN A 76.74.254.126
      • Add the following to httpd.conf under <VirtualHost>
      • ServerAlias *.domain.com
    • Upgrading
      • Upgrading from WordPress 2.9.2
        • Automatic Upgrade
        • Manual Upgrade
        • Enable MultiSite
      • Upgrading from WordPress MU 2.9.2
        • Automatic Upgrade
        • Manual Upgrade
        • Edit .htaccess
    • Upgrading 2.9.2 MU to 3.0 beta
      • Download WordPress 3.0 beta1 (http://j.mp/wp3b1)
      • Extract and copy everything except wp-content
      • Delete wp-content/blogs.php
    • Upgrading 2.9.2 MU to 3.0 beta
      • Update .htaccess to use wp-includes/ms-files.php
      • Remove:
          • RewriteRule ^(.*/)?files/$ index.php [L]
          • RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
          • RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
          • RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
      • Add:
          • RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
          • RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
      • Update Network
    • WordPress 3.0 MultiNetwork
      • WP Multi Network Plugin
        • http://j.mp/jjjwpmn
      • WPMU Tutorials MultiSite Plugin  Network
        • http://wpmututorials.com
      John James Jacoby Ron & Andrea Rennick
    • Domain Mapping
      • WordPress MU Domain Mapping
        • http://j.mp/dmnmp
      • WPMU Tutorials Domain Mapping
        • http://wpmututorials.com
      Donncha O Caoimh Ron & Andrea Rennick
    • Deprecated Functions
      • get_alloptions()
      • get_profile()  get_the_author_meta()
      • trackback_rdf()
      • add_option_update_handler  register_setting()
      • remove_option_update_handler  remove_setting()
    • Deprecated Functions
      • automatic_feed_link()  add_theme_support( ‘automatic-feed-links’ )
      • set_current_user()  wp_set_current_user()
      • clean_url()  esc_url() and esc_url_raw()
      • get_usernumposts()  count_user_posts()
      • *_usermeta()  *_user_meta()
    • Code Backup
      • backup: tar czf backup_html_$(date +%Y_%m_%d-%H_%M).tar.gz <public_html>/
      • chmod 700 backup
      • exec $(./backup)
      • backup_html_2010_04_24-08_54.tar.gz
    • Database Backup
      • backupdb: mysqldump -h <hostname> -qp --all-databases | gzip > all-databases_$(date +%Y_%m_%d-%H_%M).sql.gz
      • chmod 700 backupdb
      • exec $(./backupdb)
      • all-databases_2009_10_10-11_45.sql.gz
    • Questions?
      • Pete Mall
      • [email_address]
      • developersmind.com
      • twitter: @petemall