Enable multisite · Wordpress · Wordpress setup

Enable multisite in wordpress

In this post I will show you how to enable multisite in wordpress.

**IMPORTANT**: Installing a multisite in WordPress will break your permalinks. WordPress will add “/blog” to all your URLS, and you will need to do a redirect if you dont want to loose your previous structure. Example:

Before multisite: name.synology.me/wpTutorial/sample-page

After multisite: name.synology.me/wpTutorial/blog/sample-page

Without the redirect, visitors that have saved your site as favourite will get a “Page not found”. You will need also to send your new URL’s to google, bing, etc for indexing…which is a real PAIN.

Internal links, that is, links to other pages on your site will not be affected.

Set up Multisite

Access the file wp-config.php from your file station:



And the following lines below the /* That's all, stop editing! Happy blogging. */. If it doesn’t say that anywhere, then add the line somewhere above the first line that begins with require or include:

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );



Log in wordpress and click on “Tools” and “Network setup”:



and you will see the following warning message:


Deactivate your plugins and proceed to create the network of sites:

  • give your network a name
  • enter an email address and click on “Install”:


In this step, wordpress will warn you about the changes on the permalink structure:


WordPress will now give you the code you need to add to wp-config.php and .htaccess:


Accesss those files with your File Station:



Copy the code to the wp-config.php below the /* That’s all, stop editing! Happy blogging. */:


and the replace all the code in the .htaccess with the code given by wordpress (I used notepad++ to do that):


Go back to wordpress and you will notice that a new section has appeared: “Sites” and my existing site wpTutorial is there already.


You will also have access to your new “Network admin” where you can administrate all the sites and functionality in the network. For example, you can administrate which plugins are administrated at a site level or which ones are administrated at a network level:




6 thoughts on “Enable multisite in wordpress

  1. Hey!

    Very nice post and good to see somebody made it work on Synology.

    After doing all the changes I cannot log in anymore (I get a redirect to the homepage but no admin options available). I followed the exact steps you did and also others with small variations from other blogs none of them work…

    I am interested if the above still works for you on WordPress 4.0.1 on DSM 5.1 (this is what I have)?




  2. Any update? Same on my end, would love to get this working.

    Otherwise a really well written tutorial.

    Ben 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s