Dealing With MultiSite Installation Problem in Bluehost.
The reason I am writing this blogpost today despite the fact that I already changed web host company, from bluehost to another, is that I had problem and difficulties setting up a wordpress multisite in Bluehost. I know there is a lot of bloggers and wordpress admins who wanted to set up wordperss multisite in bluehost but for some reasons, FAILED. I was one of them but not anymore.
Last time I remembered, I kept on searching solutions online only to find out 95% of the tips from the so called “gurus” are not working. I chatted Bluehost support several times only to find out they can’t solve the problem themselves. They gave me guide which did not work.
Below are the steps on setting wordpress multisite on bluehost.
1. Open wp-config.php and paste the following code before /* That’s all, stop editing! Happy blogging. */ :
/** Enable or disable Worpress Multi-site features **/
define('WP_ALLOW_MULTISITE', true);
2. Log into your wordpress site’s dashboard then go to Tools > Network. You have options either subdomain or subdirectory. In my case I opted subdomain.
3. You will be logged out automatically after that, so you have to sign back in then go to Network Setup. Take note of the codes provided.
Copy and paste the following code into your wp-config.php file just before /* That’s all, stop editing! Happing blogging. */
define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'www.yourdomain.com'; ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
Open your .htaccess file and replace everything with the code below:
#BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
4. Now, we’ve come to the most critical point in setting up wordpress multisite in bluehost, creating a wildcard subdomain. If you search the net about creating it for a wordpress multisite almost every site will give you the same answer which is to create a *.domain.com subdomain which is right. However, the information is not that detailed. So, in this post, I will be making it more detailed.
Create a wildcard subdomain by going into your cpanel, subdomains then input “*”, just an asterisk, as your new subdomain.
Next will be the directory. Automatically, bluehost will make it public_html/wildcard and that’s making your set up a failure. To make it right, delete the directory “wildcard” making it just public_html/
Wrong:

Right:

Please take note that wildcard subdomain and wp-config.php should be in one directory. So if you are setting up a multisite on an addon domain, the directory for the wildcard subdomain should be public_html/youraddondomain/ and not public_html/youraddondomain/wildcard.
Hope this article helps.
Related Topics

Hello Mark,
I have found your post quite useful. But this same principle is not working for addon domains on bluehost.
For example,
I have something.com as my main domain and something-more.com as an addon domain in bluehost, which are at “/public_html/” and “/public_html/something-more” path on my hosting, respectively.
The way you shown not working for latter one for me. Would you add it too, in your post?
Thanks!
Hi Mahmud!
Last week, when I was still on bluehost, I transferred from bluehost to another webhost due to speed issue, I was able to create a multisite on an addon domain. Here’s what I did.
1. Follow the first 3 steps above. (make sure you chose subdomain for multisite)
2. On the 4th step, which I found critical, make sure you know the folder of the addon domain. So you better check on your cpanel what’s the folder name of your addon domain.
3. Now create wildcard subdomain for your addon domain. In your case, enter asterisk as the new subdomain, *.something-more.com. As expected, Bluehost will automatically populate the directory field with /wildcard. This time, make sure that the directory for the wildcard subdomain will be public_html/the_folder_name_of_your_addon_domain
4. In my end, I waited around 6 hours. When I woke up the next day, the multisite was already up.
Note: the directory of the wildcard subdomain files should be in the directory where the wp-config.php is. In short, wp-config.php and wildcard subdomain files should be in one directory.
Hope it will help.
Thank you thank you thank you!! I’ve been struggling with this for a few days now and finally my multisite works!
No problem Dee. Glad this post helped your problem.