WpCode.net

Daily Wordpress Code Snippet

How to install WordPress As Network using Subdirectory

| 2 Comments

Pin It

In this tutorial i’ll show you how to install wordpress as network using subdirectories, here you can find a complete guide about wp network installation on subdomains. There are 4 simple steps where we will customize some core wordpress files. Please do a complete wordpress backup before proceed.

WpConfig.php setup:

    • Open the wpconfig.php in the root
    • Search for “
      /* That's all, stop editing! Happy blogging. */

      ” and above

    • Add the following code
define('WP_ALLOW_MULTISITE', true);
  • Save and update

Dashboard Configurations:

  • Login on your dashboard
  • Go on “Tools”
  • Click on “Network Setup”
  • Select  “Sub-directories”
  • Customize Network Details
  • Click on Install

WpConfig.php setup part 2:

  • Replace the added
  • With the First part of code founded in the dashboard page

.htaccess Configuration:

  • Copy the second part of code from the Network installation Page to .htaccess

When Ready do the login to the dashboard again

Notes:

  • You can install Wp Network on subdirectories only if aren’t posts (just the first default wordpress post)
  • You can’t turn a subdirectory installation into a subdomain installation.
  • Wp Security can be compromitted

Gallery:

2 Comments

  1. Pingback: Creare un Network con Wordpress | TuttoMsn.net

  2. Hi Pigi,

    Simple code to do the install…Thanks!

    Mark

Leave a Reply

Required fields are marked *.

*