Spiga

How to install WordPress Multisite Subdomain

 How to Use WordPress Multisite Subdomain Install on Bluehost
How to install WordPress Multisite Subdomain 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:
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.

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.  BlueHost cPanel  Files ->     FTP Accounts




7.  BlueHost 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.
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 On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Here is the default WordPress.org article for setting this up:

0 nhận xét:

Your IP

IP
Blogger Widgets

Copy code, paste your site:

<p><span style="text-align:center; display: block;"><a href="http://win7-vista.blogspot.com/2011/02/get-ip-address-widget-for-your-blogger.html"><img src="http://www.wieistmeineip.de/ip-address/?size=468x60" border="0" width="468" height="60" alt="IP" /></a><br /><small><a href="http://win7-vista.blogspot.com/2011/02/get-ip-address-widget-for-your-blogger.html">Blogger Widgets</a></small></span></p>