How to install WordPress Multisite on Subdomains (Bluehost.com)

2011.03.09 22:21



WordPress MU is no longer a separate project; 
it is continuing development as part of the main WordPress branch under the name 'multi-site' or MS
This means that it will get more frequent updates and improvements.

How to install WordPress Multisite on Bluehost

You can use sub-domains and it will work.

WordPress must be installed at the root level of the domain.
You simply need to create a *.yourdomain.com subdomain
(regardless of whether the domain is an addon domain or primary domain). 

Bluehost is a shared hosting company. Bluehost was among those studied in the analysis of web based hosting services in collaborative online learning programs.

BlueHost is one of the 20 largest web hosts, collectively hosting well over 1.9+ million domains with its sister companies, HostMonster & FastDomain.


WordPress is web software you can use to create a beautiful website or blog. 
We like to say that WordPress is both free and priceless at the same time.

First things first. We need to setup WordPress Multi-Site:

1. BlueHost cPanel Databases -> MySQL

2. 

Create New Database




3. MySQL Users Add New User




4. Add User To Database


5. Manage User Privileges


6. 
cPanel  Files -> 
   
FTP Accounts





7. cPanel Domains -> Subdomains


8. Create a Subdomain
You simply need to create a *.yourdomain.com subdomain




9. Download FileZilla


10. Download the latest release of WordPress.
      Unzip the downloaded file to a folder on your hard drive.



11. Rename the wp-config-sample.php file to wp-config.php.
   Open wp-config.php in a text editor and fill in your database details as explained in Editing wp-config.php to generate and use your secret key password.






12. WordPress Multi-site Setup

Edit the wp-config.php and add the following line *before* the line which says:

define('WP_ALLOW_MULTISITE', true);

13. FTP Upload
upload all contents of the unzipped WordPress file into the root directory of your web server.

That's it!

DEMO
WordPress Multi-Site: http://www.cyple.com 

Subdomain WordPress: http://tyzen.cyple.com 


14. Installing WordPress
visit: http://example.com/wp-admin/install.php






15. WordPress Multisite (Create a Network)


Then log into the Dashboard, go to Tools > Network, and select Sub-domains and click Install.




You will be given a page with code which needs to be copied and then added to the wp-config.php file first, and then it will also supply code which needs to be added to the .htaccess. Before you do any editing, it would be best to backup your current wp-config.php and .htaccess files, in case you accidentally break something.

a. You also want to take a quick break to go create a blogs.dir directory inside the wp-content/ directory. This will be needed for the additional sites.



b. Edit the wp-config.php

define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'cyple.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
c. .htaccess file
 Add the generated mod_rewrite rules to your .htaccess file, replacing other WordPress rules. (If there isn't one, then create it.)

RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]





Here is the default WordPress.org article for setting this up: http://codex.wordpress.org/Create_A_Network

신고
  1. TYZEN님 안녕하세요^~^

  2. 안녕하세요^^

    항상 감사합니다.

  3. DYC

    안녕하세요, 덕분에 블로그 만들기를 꾸역꾸역 하고 있는데요,

    자문을 구할게 있어서 염치 불구하고 이렇게 포스팅 합니다.

    Wordpress 3.1를 호스팅 케이알 웹호스팅 서비스를 이용해 설치하고,

    Tubepress pro 2.2 플러그인을 설치하여 Youtube 제 리스트를 보고 싶은데,

    예전에 작성하신 Tubepress 관련 자료를 참조해서 하는데 이상한 문구가 나와서요. ㅜ.ㅜ

    Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to tcp://gdata.youtube.com:80 (Connection timed out) in /home/제블로그/public_html/wp-content/plugins/tubepress_pro_2_1_2/classes/net/php/pear/HTTP/Request2/Adapter/Socket.class.php on line 190

    혹시 이런 것 경험하신 적 있나요? ㅜ.ㅜ

  4. http://tyzen.net/94 한번 참조해보세요

    그리고 유튜브 API는 서버 트래픽이

    많으면 그럴수도 있습니다.

티스토리 툴바