• About us
  • Advertising
  • Send Press Release
  • ICT Indicators
Saturday, February 4, 2023
  • Login
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
Shop
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
No Result
View All Result

How to setup WordPress Multisite

8 years ago
in Tutorials, Websites
Reading Time: 14 mins read
0 0
A A
2
WordPress MultiSites

WordPress MultiSites

Share on FacebookShare on TwitterShare on LinkedInQR Code

Other similar Posts

Rolling Nexus – Professional Networking Site from Nepal [Review]

Why You Shouldn't Abandon Your Business Number

WordPress MultiSites
WordPress MultiSites
After setting up WordPress on your Local Machine, it’s time to move to multi-sites WordPress features. The cool thing about multisite is that it allows you to share a common set of themes, plugins, and authors among several different blogs or sites.
Having Multisite setup on a local machine provides a great way to test themes and plugins in a Multisite environment, but also makes it a quick and easy to have multiple sites running at once.
We hope you have read our previous article on “A full Tutorial on Installation of WordPress on XAMPP“.
Before starting the how to setup WordPress Multisite Tutorial, we’d like to note you the benefits of WordPress Multisite.

The Benefits of WordPress Multisite

Enabling multisite on WordPress you’ll be able to take advantage of many benefits. WordPress multisite allows you to:

  • Share one custom theme among all of your multisite blogs. We made slight adjustments to each of them using child themes.
  • Share one set of authors. There is only one username/password combination for each user, plus one profile to manage.
  • Distribute plugins across all blogs, rather than managing them individually for each install. This goes for WordPress updates as well.
  • Simplify the blogging process. By logging into one blog, we have access to each of them.

Setting up Multisite WordPress on Local Server

Open your wp-config.php file and add/edit the following lines to activate Multisite’s installation mode:

Activate Multisite installation mode.
Activate Multisite installation mode.
 
Open XAMPP and ensure your Apache and MySQL servers are running.
Login to your localhost site in your browser and under “Tools” you will now have a new option, “Network Setup.”
Network setup
Enabling Multisite will add a new “Network Setup” sub-menu item to WordPress.
Enabling Multisite will add a new “Network Setup” sub-menu item to WordPress.
Enter a name for your network and your email address, then click “Install.”
WordPress will prompt you to edit your wp-config.php and .htaccess files.
Following the onscreen instructions, open wp-config.php and add the following lines underneath your previous edit:
Edit your wp-config file to get Multisite up and running.
Edit your wp-config file to get Multisite up and running.
 
Next, open .htaccess. If you can’t find it, make sure hidden files are displaying on your computer.
Your .htaccess file should look like this:
Edit .htaccess
Edit .htaccess
Edit your .htaccess file to complete your Multisite installation.
Multisite should now be enabled and working on your WordPress site!
Multisite network
Multisite network
Your Multisite network should now be up and running!

Setting up your sub-domains or sub-directories for Live MultiSites

1. Now go to Tools > Network Setup and choose whether you want to use sub-domains or sub-directories

  • Choose wisely as you can’t change this later
  • Contact your host first if you want to use sub-domains to ask if they are able to set up Wildcard DNS records for your site as not all hosting companies support this option

a. Sub- domains

If you want to use sub-domains you will need to contact your host and ask them to set up Wildcard DNS records for your site e.g. log into your support area of pSek and ask them to set up Wildcard DNS records for your site.

  • Sub-domains have site URLs like site1.domain.tld and site2.domain.tld
  • Not all companies allow you to use sub-domains and you need to check with your hosting company before choosing this option.

b. Sub-directories

This is the easier option because you don’t need to get your hosting company to set up Wildcard DNS records for your site.

  • Sub-directories have site URLs like domain.tld/site1 and domain.tld/site2

2. Once you have chosen between sub-domains or sub-directories and double-checked all details are correct then click Install.

  • Your Apache mod_rewrite should have already been enabled by your hosting provider so this is something that you generally don’t need to worry about or deal with.
    Create a Network of WordPress Sites
    Create a Network of WordPress Sites

3. Once you’ve clicked Install you should see a page titled Enabling the Network with further instructions for creating your network.

Enabling Multisite Network
Enabling Multisite Network
 

4. Before you commence the next step create a backup of your wp-config.php and .htaccess file by downloading them onto your hard drive.

Add the extra lines your WordPress installation generates into your wp-config.php

1. Add the supplied code for your wp-config.php file from the ‘Enabling the Network’ page above the line reading /* That’s all, stop editing! Happy blogging. */: and remove the earlier added define(`WP_ALLOW_MULTISITE`, true); line. As of WordPress 3.8, the code you should be copying looks like this:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'wpsingle.net');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

2. Save your new wp-config.php file and reupload it to the root of your website.

Add the generated mod_rewrite rules to your .htaccess file, replacing other WordPress rules.

1. Add the supplied rules for your .htaccess file from the ‘Enabling the Network’ page to replace all other WordPress rules in the .htaccess file with the supplied code. As of WordPress 3.8, the code you should be copying looks like this:

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [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).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L] RewriteRule . index.php [L]

2. Save your new .htaccess file and reupload it to the root of your website.

The examples above are for subdirectories. Subdomains will be a bit different, but either way you should always copy exactly what WordPress gives you on that screen.

Video Tutorial on WordPress MultiSite Setup

Here’s a video tutorial from WPMU DEV channel on Youtube showing how setup WordPress MultiSite.

[box title=”More on WordPress” box_color=”#0b41d5″ radius=”5″]
  • A full Tutorial on Installation of WordPress on XAMPP
  • WordPress 3.5 Review – WordPressing Refined
  • नयाँ ब्लग पोस्ट गरेपछि गर्नैपर्ने कुराहरु –Things to do after a new blog post.
  • Installing WordPress Blog or any CMS on Windows Azure [how to] (ekendraonline.com)
  • Run WordPress blog directly form Google Cloud & Amazon S3 – STEP BY STEP GUIDE
[/box] Ref: WPMU DEV

ShareTweetShareScan
Previous Post

A full Tutorial on Installation of WordPress on XAMPP

Next Post

How to share Printer over a network on HomeGroup

Also check out other Similar posts

Reduce background noise during Microsoft Teams or Zoom meetings
How To

How to reduce background noise during Microsoft Teams or Zoom meetings

May 20, 2021
Permanently Remove LeadBoxer from Outlook
How To

Remove add-in services from Outlook, LeadBoxer as an example

January 29, 2021
fix for “Sorry, another account from your organization is already signed in on this computer.”
Tutorials

Fix for “Sorry, another account from your organization is already signed in on this computer.”

November 12, 2020
watermark using php
How To

Create Watermark of image using PHP

November 3, 2020
speed test with python
How To

Test Internet Speed using Python

October 28, 2020
Wirelessly casting projecting Windows to Smart TV
Tutorials

How to wirelessly project or cast Windows 10 computers to the Smart TVs

March 8, 2020
Next Post
Sharing Printer on a Network

How to share Printer over a network on HomeGroup

Comments 2

  1. Hari Prasad Chaudhary says:
    8 years ago

    Wow! very informative and meaningful article. Just know the new functionality of WordPress, thanks.

  2. Hari Prasad Chaudhary says:
    8 years ago

    Wow! very informative and meaningful article. Just know the new functionality of WordPress, thanks.

No Result
View All Result

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more
  • 6 things you can do to speed up your Windows 11 computer
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11
  • Speed up your Windows 11 computer by reducing startup time, here is how to
  • What is band steering and why you should use it #WiFi #Networking
  • Messages for Android and Web saves you tonnes of time and features!
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021

Recent Comments

  • Gloria Brooks on Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more
  • Devendra Acharya on History of Computers and Information Technologies (IT) in Nepal
  • 6 things you can do to speed up your Windows 11 computer • TechSansar.com on Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11
  • 6 things you can do to speed up your Windows 11 computer • TechSansar.com on Speed up your Windows 11 computer by reducing startup time, here is how to
  • Rabish Kumar Sah on Micromax Service Center & Authorized Dealers in Nepal

Listen to TechSansar Podcast

Categories

RoboForm: Learn more...

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution January 3, 2023
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more November 12, 2022
  • 6 things you can do to speed up your Windows 11 computer April 14, 2022
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior April 11, 2022
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11 January 5, 2022
  • Speed up your Windows 11 computer by reducing startup time, here is how to December 23, 2021
  • What is band steering and why you should use it #WiFi #Networking November 25, 2021
  • Messages for Android and Web saves you tonnes of time and features! July 7, 2021
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp July 5, 2021
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021 July 1, 2021

Latest Questions

  • Wifi doesn’t turn back automatically Windows 10 asked by Chandani, 2 years ago
  • Your feed file is too big – Facebook Instant Articles asked by , 2 years ago
  • What is businessfocus.info ads? asked by , 2 years ago
  • MSDOS Boot creation problem. asked by , 2 years ago
  • Why does Google Site Kit keeps disconnecting? asked by Editor, 2 years ago
  • Best eBanking in Nepal asked by Editor, 4 years ago
  • Traditional Nepali Font asked by Malvika Shrestha, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago

Categories

  • ADSL
  • Apple
  • Applications
  • Broadband
  • Broadcasting
  • Cell Phones
  • Cloud Computing
  • Computing
  • Default
  • Featured
  • Gadgets
  • Google
  • How To
  • India Inc
  • Internetworking
  • Microsoft
  • Nepali IT
  • New Release
  • Products
  • SMS & related
  • Social Networking
  • Software
  • Startups
  • Support
  • Tech Fun
  • Tech News
  • Technology
  • Technology in Effect
  • Telecom
  • Tips & Tricks
  • Tutorials
  • Uncategorized
  • Videos
  • Websites
  • Windows
  • Windows-7
  • टिप्सहरु
  • नेपाली टेक संसार
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175. 
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

No Result
View All Result
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175. 
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

Welcome Back!

Sign In with Facebook
Sign In with Google
OR

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

We are running on limited supplies. Kindly, chat with us before sending payments. Dismiss