Allow Multisite
<--- This is a image with new wordpress.
1) Firstly look for your wp-config.php with your wordpress root directory.
your_wordpress_root\wp-config.phpFor my case
C:\wamp\www\wpmu\wp-config.php
2) Add the line in your wp-config.php:
define('WP_ALLOW_MULTISITE', true);
3) Refresh your wordpress backend admin page index,
and than you will found there is a new item "Network Setup" appear in Tools panel
Installing a Network
4) Click the "Tool" -> "Network Setup"5) fill in the blank and click install:
Enabling the Network
6) Copy the code I highlighed in blue in the figure.
Anybody has his/her own case:
7) add the code to your wp_config.php, above the line /* That's all, stop editing! Happy blogging. */ as shown below:
8) Open the file named .htassess in the root of your wordpress root.
The path:
your_wordpress_root\.htassessFor my case, my path:
C:\wamp\www\wpmu\.htassess
9) Opened that and add your own code highlighted in blue to your .htassess document :
10) Click link with "log in" shown below to login again.
11) And then if you can found "My Sites" is now the second item. There, all your sites are listed, Your wordpress multisite setup would be finished.
No comments :
Post a Comment