SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
What is Multisite?
Multisite is a feature of WordPress that has been
available since version 3.0 (2010.) It provides the
ability to create a network of websites and to
administer them from a single login.
• A multisite network is a collection of sites that
all share the same WordPress installation. They
can also share plugins and themes.
• WordPress.com is a gigantic Multisite.
• The individual sites in the network are virtual
sites in the sense that they do not have their
own directories on your server.
• However, they do have separate directories for
media uploads within the shared installation,
and they do have separate tables in the
database.
Reasons to use Multisite
Schools – Separate departments, separate sites
Franchises – parent company and separate locations
setup as separate sites
Blog network – a content network of blogs (most
common use case)
Organizational – team or division based information
site or blogs
Build a large content network and manage it all from
one site.
Reasons not to use it
If you just want to be able to update plugins, themes
and WordPress versions from one dashboard, there
are other ways to do this.
• Check out Sync from iThemes and
ManageWP, at managewp.com
• These allow you to do this with a single
login and also offer other services, such as
backups.
Other plugins (of 51,096) may work, too.
If you make custom permissions for certain
admins, you have to do it per site. 5 sites, not
bad. 50 sites, terrible.
Not great with shared hosting past a certain point.
Things to keep in mind
- The site administrators of a site on the network
do not have the same powers as those of a
single website. They can be limited by the Super
Admin, who is the person administering the
entire network.
- The Super Admin, a role not seen on single sites,
has all the mysterious and mystical powers.
- Use this power only for good, never for e-vil.
What the heck – Let’s do it!
1. Disable any active plugins
2. To enable multisite, you add this to your wp-
config.php file:
/* Allow multisite */
define(‘WP_ALLOW_MULTISITE’, true);
When you upload this to your installation and refresh
your browser, you will see a new option in the Tools
menu item: Network Setup.
3. Click on Network Setup. Choose subdomains or
subdirectories. Here we will choose subdomains
because they look cooler.
Subdomains: site1.mygreatsite.com
Subdirectories: mygreatsite.com/site1
Be aware that if your site is more than one month
old, you will have to use subdomains.
For subdomains, you will need to enable wildcard
subdomains on your server. You can usually do this
via your CPanel or equivalent.
For subdirectories, you need only enable pretty
permalinks, which you should do anyway.
4. Give your network a title and make sure you have
a valid email address.
5. Click the Install button.
6. You will see a screen advising you to back up your
wp-config.php and .htaccess files. This is because
you are going to modify them with the code that is
provided for you:
Add this to your wp-config.php file, above the line
reading /* That’s all, stop editing! Happy blogging.
*/:
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE',
'tangorunner.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
Then, add the code below to your .htaccess file. This
replaces all of your existing code in that file.
If you do not have one, just create a plain text file
and name it .htaccess. (But be sure you really don’t
have one – it is a hidden file.)
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1
[L]
RewriteRule ^(.*.php)$ $1 [L]
RewriteRule . index.php [L]
7. Once you complete these steps, your network is
enabled and configured. You will have to log in
again. Click the login link.
8. You will now see a “My Sites” item in the admin
bar. If you hover over that, you will see Network
Admin, which has its own menu. Go to the Network
Admin Dashboard.
9. First, explore the Settings/Network Settings
options. They are mostly self explanatory. Make sure
to scroll to the bottom and note that the box
allowing the site administrators to have a Plugins
menu IS NOT CHECKED. You probably do not want
them to be able to install who knows what malarkey
so leave it unchecked.
10. Now, click the Dashboard option. You will be able
to see links for Create a new site and Create a new
user. When you create a new site, you will also be
creating a new user.
11. The new user’s name will be the same as the
name of the site.
Note: Keep in mind that any limitations or conditions
you want to put on new sites should be put into
place before you create the new sites. They may not
stick otherwise.
Note that when you install themes, you are installing
them for all sites. When you Network Activate them,
any site can use them. But you can install them, not
Network Activate them, and then enable certain ones
on certain sites.
Plugins are similar but not the same. You can’t
enable them for individual sites. However, you can
install a plugin and not Network Activate it, but allow
an individual site admin to activate it for their site.
Resources:
http://www.wpbeginner.com/wp-tutorials/how-to-
install-and-setup-wordpress-multisite-network/
https://codex.wordpress.org/Create_A_Network
https://premium.wpmudev.org/blog/wordpress-
multisite-masterclass-getting-started

Contenu connexe

Tendances

WordPress on Amazon ec2
WordPress on Amazon ec2WordPress on Amazon ec2
WordPress on Amazon ec2belsien
 
How to in WPMU: Building a blog directory & Domain Mapping
How to in WPMU: Building a blog directory & Domain MappingHow to in WPMU: Building a blog directory & Domain Mapping
How to in WPMU: Building a blog directory & Domain MappingAndrea Rennick
 
NamesCon 2015 Wordpress Beginner Session
NamesCon 2015 Wordpress Beginner SessionNamesCon 2015 Wordpress Beginner Session
NamesCon 2015 Wordpress Beginner SessionBruce Marler
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)Stephanie Leary
 
Word press for beginners lesson 3 jalc fall 2015
Word press for beginners lesson 3 jalc fall 2015Word press for beginners lesson 3 jalc fall 2015
Word press for beginners lesson 3 jalc fall 2015Michele Butcher-Jones
 
How to install a local instance of WordPress
How to install a local instance of WordPressHow to install a local instance of WordPress
How to install a local instance of WordPresssomisguided
 
Introduction wordpress
Introduction wordpressIntroduction wordpress
Introduction wordpressHall_
 
WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop   WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop Ella J Designs
 
Social media management wordpress ppt
Social media management   wordpress pptSocial media management   wordpress ppt
Social media management wordpress pptTraining As A Service
 
Basic Wordpress Session
Basic Wordpress SessionBasic Wordpress Session
Basic Wordpress SessionVipul Garg
 
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)Digital Strategy Works LLC
 
Basic WordPress Workshop Presentation
Basic WordPress Workshop PresentationBasic WordPress Workshop Presentation
Basic WordPress Workshop PresentationFelix Albutra
 
Getting Started With WordPress Development
Getting Started With WordPress DevelopmentGetting Started With WordPress Development
Getting Started With WordPress DevelopmentAndy Brudtkuhl
 

Tendances (19)

WordPress on Amazon ec2
WordPress on Amazon ec2WordPress on Amazon ec2
WordPress on Amazon ec2
 
Joomlapresent
JoomlapresentJoomlapresent
Joomlapresent
 
Getting Started With Wordpress
Getting Started With WordpressGetting Started With Wordpress
Getting Started With Wordpress
 
How to in WPMU: Building a blog directory & Domain Mapping
How to in WPMU: Building a blog directory & Domain MappingHow to in WPMU: Building a blog directory & Domain Mapping
How to in WPMU: Building a blog directory & Domain Mapping
 
NamesCon 2015 Wordpress Beginner Session
NamesCon 2015 Wordpress Beginner SessionNamesCon 2015 Wordpress Beginner Session
NamesCon 2015 Wordpress Beginner Session
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
 
Word press for beginners lesson 3 jalc fall 2015
Word press for beginners lesson 3 jalc fall 2015Word press for beginners lesson 3 jalc fall 2015
Word press for beginners lesson 3 jalc fall 2015
 
How to install a local instance of WordPress
How to install a local instance of WordPressHow to install a local instance of WordPress
How to install a local instance of WordPress
 
WordPress101 ppt
WordPress101 pptWordPress101 ppt
WordPress101 ppt
 
Introduction wordpress
Introduction wordpressIntroduction wordpress
Introduction wordpress
 
WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop   WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop
 
Social media management wordpress ppt
Social media management   wordpress pptSocial media management   wordpress ppt
Social media management wordpress ppt
 
How WordPress Works
How WordPress WorksHow WordPress Works
How WordPress Works
 
Basic Wordpress Session
Basic Wordpress SessionBasic Wordpress Session
Basic Wordpress Session
 
Jomc463 beginner wordpress(zeoli)
Jomc463 beginner wordpress(zeoli)Jomc463 beginner wordpress(zeoli)
Jomc463 beginner wordpress(zeoli)
 
Powering Music Sites with WordPress
Powering Music Sites with WordPressPowering Music Sites with WordPress
Powering Music Sites with WordPress
 
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
 
Basic WordPress Workshop Presentation
Basic WordPress Workshop PresentationBasic WordPress Workshop Presentation
Basic WordPress Workshop Presentation
 
Getting Started With WordPress Development
Getting Started With WordPress DevelopmentGetting Started With WordPress Development
Getting Started With WordPress Development
 

Similaire à Multisite meetup talk-2017-0710

Word press multisite network how to install & setup it
Word press multisite network how to install & setup itWord press multisite network how to install & setup it
Word press multisite network how to install & setup itTemok IT Services
 
A Complete Guide To WordPress Multisite.pdf
A Complete Guide To WordPress Multisite.pdfA Complete Guide To WordPress Multisite.pdf
A Complete Guide To WordPress Multisite.pdfCIOWomenMagazine
 
Wordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook FreeWordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook Freehuutienmmo
 
WordPress Multisite deck
WordPress Multisite deckWordPress Multisite deck
WordPress Multisite deckbelsien
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingCindy Royal
 
Creating web sites using datalife engine
Creating web sites using datalife engineCreating web sites using datalife engine
Creating web sites using datalife engineJapprend.Com
 
Developing formultisite
Developing formultisiteDeveloping formultisite
Developing formultisiteMarty Thornley
 
How To Install WordPress On VPS Hosting.pdf
How To Install WordPress On VPS Hosting.pdfHow To Install WordPress On VPS Hosting.pdf
How To Install WordPress On VPS Hosting.pdfHost It Smart
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014Judy Wilson
 
How to install joomla 2.5
How to install joomla 2.5How to install joomla 2.5
How to install joomla 2.5Kamis Kalees
 
7. mastering wordpress
7. mastering wordpress7. mastering wordpress
7. mastering wordpressMoreNiche
 
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 2012Utsav Singh Rathour
 
Gotta have vs must use plugins for WordPress multisite
Gotta have vs must use plugins for WordPress multisiteGotta have vs must use plugins for WordPress multisite
Gotta have vs must use plugins for WordPress multisiterfair404
 
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 multisitewpnepal
 

Similaire à Multisite meetup talk-2017-0710 (20)

Word press multisite network how to install & setup it
Word press multisite network how to install & setup itWord press multisite network how to install & setup it
Word press multisite network how to install & setup it
 
A Complete Guide To WordPress Multisite.pdf
A Complete Guide To WordPress Multisite.pdfA Complete Guide To WordPress Multisite.pdf
A Complete Guide To WordPress Multisite.pdf
 
Municipal Website with Drupal
Municipal Website with DrupalMunicipal Website with Drupal
Municipal Website with Drupal
 
Wordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook FreeWordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook Free
 
WordPress Multisite deck
WordPress Multisite deckWordPress Multisite deck
WordPress Multisite deck
 
Using Wordpress with Reclaim Hosting
Using Wordpress with Reclaim HostingUsing Wordpress with Reclaim Hosting
Using Wordpress with Reclaim Hosting
 
Creating web sites using datalife engine
Creating web sites using datalife engineCreating web sites using datalife engine
Creating web sites using datalife engine
 
Developing formultisite
Developing formultisiteDeveloping formultisite
Developing formultisite
 
How To Install WordPress On VPS Hosting.pdf
How To Install WordPress On VPS Hosting.pdfHow To Install WordPress On VPS Hosting.pdf
How To Install WordPress On VPS Hosting.pdf
 
Wordpress multisite
Wordpress multisiteWordpress multisite
Wordpress multisite
 
Visual guide joomla15
Visual guide joomla15Visual guide joomla15
Visual guide joomla15
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
How to install joomla 2.5
How to install joomla 2.5How to install joomla 2.5
How to install joomla 2.5
 
Blogging basics 101.pptx
Blogging basics 101.pptxBlogging basics 101.pptx
Blogging basics 101.pptx
 
Wordpress vs joomla
Wordpress vs joomlaWordpress vs joomla
Wordpress vs joomla
 
7. mastering wordpress
7. mastering wordpress7. mastering wordpress
7. mastering wordpress
 
WordPress Multisite
WordPress MultisiteWordPress Multisite
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
 
Gotta have vs must use plugins for WordPress multisite
Gotta have vs must use plugins for WordPress multisiteGotta have vs must use plugins for WordPress multisite
Gotta have vs must use plugins for WordPress multisite
 
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
 

Dernier

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

Multisite meetup talk-2017-0710

  • 1. What is Multisite? Multisite is a feature of WordPress that has been available since version 3.0 (2010.) It provides the ability to create a network of websites and to administer them from a single login. • A multisite network is a collection of sites that all share the same WordPress installation. They can also share plugins and themes. • WordPress.com is a gigantic Multisite. • The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server. • However, they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.
  • 2. Reasons to use Multisite Schools – Separate departments, separate sites Franchises – parent company and separate locations setup as separate sites Blog network – a content network of blogs (most common use case) Organizational – team or division based information site or blogs Build a large content network and manage it all from one site.
  • 3. Reasons not to use it If you just want to be able to update plugins, themes and WordPress versions from one dashboard, there are other ways to do this. • Check out Sync from iThemes and ManageWP, at managewp.com • These allow you to do this with a single login and also offer other services, such as backups. Other plugins (of 51,096) may work, too. If you make custom permissions for certain admins, you have to do it per site. 5 sites, not bad. 50 sites, terrible. Not great with shared hosting past a certain point. Things to keep in mind - The site administrators of a site on the network do not have the same powers as those of a single website. They can be limited by the Super Admin, who is the person administering the entire network. - The Super Admin, a role not seen on single sites, has all the mysterious and mystical powers.
  • 4. - Use this power only for good, never for e-vil. What the heck – Let’s do it! 1. Disable any active plugins 2. To enable multisite, you add this to your wp- config.php file: /* Allow multisite */ define(‘WP_ALLOW_MULTISITE’, true); When you upload this to your installation and refresh your browser, you will see a new option in the Tools menu item: Network Setup. 3. Click on Network Setup. Choose subdomains or subdirectories. Here we will choose subdomains because they look cooler. Subdomains: site1.mygreatsite.com Subdirectories: mygreatsite.com/site1 Be aware that if your site is more than one month old, you will have to use subdomains. For subdomains, you will need to enable wildcard subdomains on your server. You can usually do this via your CPanel or equivalent. For subdirectories, you need only enable pretty permalinks, which you should do anyway.
  • 5. 4. Give your network a title and make sure you have a valid email address. 5. Click the Install button. 6. You will see a screen advising you to back up your wp-config.php and .htaccess files. This is because you are going to modify them with the code that is provided for you: Add this to your wp-config.php file, above the line reading /* That’s all, stop editing! Happy blogging. */: define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'tangorunner.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); Then, add the code below to your .htaccess file. This replaces all of your existing code in that file. If you do not have one, just create a plain text file and name it .htaccess. (But be sure you really don’t have one – it is a hidden file.) RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L]
  • 6. # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*.php)$ $1 [L] RewriteRule . index.php [L] 7. Once you complete these steps, your network is enabled and configured. You will have to log in again. Click the login link. 8. You will now see a “My Sites” item in the admin bar. If you hover over that, you will see Network Admin, which has its own menu. Go to the Network Admin Dashboard. 9. First, explore the Settings/Network Settings options. They are mostly self explanatory. Make sure to scroll to the bottom and note that the box allowing the site administrators to have a Plugins menu IS NOT CHECKED. You probably do not want them to be able to install who knows what malarkey so leave it unchecked. 10. Now, click the Dashboard option. You will be able to see links for Create a new site and Create a new user. When you create a new site, you will also be creating a new user.
  • 7. 11. The new user’s name will be the same as the name of the site. Note: Keep in mind that any limitations or conditions you want to put on new sites should be put into place before you create the new sites. They may not stick otherwise. Note that when you install themes, you are installing them for all sites. When you Network Activate them, any site can use them. But you can install them, not Network Activate them, and then enable certain ones on certain sites. Plugins are similar but not the same. You can’t enable them for individual sites. However, you can install a plugin and not Network Activate it, but allow an individual site admin to activate it for their site. Resources: http://www.wpbeginner.com/wp-tutorials/how-to- install-and-setup-wordpress-multisite-network/ https://codex.wordpress.org/Create_A_Network https://premium.wpmudev.org/blog/wordpress- multisite-masterclass-getting-started