{"id":12661,"date":"2010-07-15T12:49:15","date_gmt":"2010-07-15T12:49:15","guid":{"rendered":"https:\/\/www.amitbhawani.com\/blog\/?p=12661"},"modified":"2010-07-15T12:49:15","modified_gmt":"2010-07-15T12:49:15","slug":"setup-wordpress3-multi-user-blog","status":"publish","type":"post","link":"https:\/\/www.amitbhawani.com\/blog\/setup-wordpress3-multi-user-blog\/","title":{"rendered":"How to Setup WordPress 3 Multi User Blog &#8211; Mu Tutorial"},"content":{"rendered":"<p>WordPress 3.0 offers with the Mu system inbuilt and there is no need to download and install the wordpress mu script because you just need to set some settings and the blog is ready. Just upgrade your current WordPress blog to the latest version and then make sure you are logged into the Dashboard &amp; Ftp to get started.<\/p>\n<p>First access the wp-config.php file and then add the following line of code in the file. You can place it just before this line which can be found almost at the end of the wp-config file. &#8216;\/* That&#8217;s all, stop editing! Happy blogging. *\/&#8217;. Once this is done you will find a new option under the Tools panel under the Wp-Admin section.<\/p>\n<blockquote><p>define (&#8216;WP_ALLOW_MULTISITE&#8217;, true  ) ;<\/p><\/blockquote>\n<p>Click on your Blog &gt; Wp-Admin &gt; Tools &gt;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12663\" title=\"Wordpress Mu Network Site\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png?resize=560%2C260\" alt=\"Wordpress Mu Network Site\" width=\"560\" height=\"260\" srcset=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png?w=560&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png?resize=300%2C139&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png?resize=150%2C69&amp;ssl=1 150w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Under this Network Details option you will be able to find the type of installation you would like to perform, by default there are two options either selecting Sub-Folders or Sub-Domain, though in most cases its preferred to select the Sub-Domains option. Enter the Network Title option which is going to be listed as the Blog Title of each newly created sub blog and the admin email is useful for sending alerts and notifications. Now we need to proceed towards a little bit of manual setup process which is not easy for first times but they will have to learn this and implement slowly to make sure everything works perfectly.<\/p>\n<p>Once the Network settings are implemented and set you will have to login to the FTP software and then create a new folder \/ director under the <em>wp-content<\/em> folder with name <em>blogs.dir<\/em> which is the location where all the uploaded media like Images, Videos etc would be hosted instead of the normal Uploads folder which is the default location in single wordpress installation. You will have to make this folder writeable for the web server to allow the wordpress script to upload Images and transfer them to this directory, hence right click on this and set the permissions at 0666 (-rw-rw-rw-).<\/p>\n<p>Click on the <em>wp-config.php<\/em> file again and select the edit option and add the following code to it, which would allow it to understand your desired settings. The following code should be added just above the line which says &#8216;<em>(&#39;WP_ALLOW_MULTISITE&#39;, true );<\/em>&#8216;<\/p>\n<blockquote><p>\ndefine( &#39;MULTISITE&#39;, true );<br \/>\ndefine( &#39;SUBDOMAIN_INSTALL&#39;, true );<br \/>\n$base = &#39;\/&#39;;<br \/>\ndefine( &#39;DOMAIN_CURRENT_SITE&#39;, &#39;amitbhawani.com&#39; );<br \/>\ndefine( &#39;PATH_CURRENT_SITE&#39;, &#39;\/&#39; );<br \/>\ndefine( &#39;SITE_ID_CURRENT_SITE&#39;, 1 );<br \/>\ndefine( &#39;BLOG_ID_CURRENT_SITE&#39;, 1 );<\/p><\/blockquote>\n<p>You will have to change the above code based on your preferences like the domain current site should represent your main blog url, if you would like to have a subdomain installation and also the path of the current website.<\/p>\n<p>Finally its time to set the .htaccess file which is going to redirect the users directly and also the set the media folder redirection. Right click on the .htaccess file and select edit and then add the following code in it. If you have the default WordPress generated Rewrite code, you will have to remove it completely and then add the below one to make sure everything works perfectly.<\/p>\n<blockquote><p>RewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<\/p>\n<p># uploaded files<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?files\/(.+) wp-includes\/ms-files.php?file=$2 [L]<\/p>\n<p># add a trailing slash to \/wp-admin<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?wp-admin$ $1wp-admin\/ [R=301,L]<\/p>\n<p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br \/>\nRewriteCond %{REQUEST_FILENAME} -d<br \/>\nRewriteRule ^ &#8211; [L]<br \/>\nRewriteRule  ^([_0-9a-zA-Z-]+\/)?(wp-(content|admin|includes).*) $2 [L]<br \/>\nRewriteRule  ^([_0-9a-zA-Z-]+\/)?(.*\\.php)$ $2 [L]<br \/>\nRewriteRule . index.php [L]<\/p><\/blockquote>\n<p>Once everything is implemented correctly you will find that there is a new option under the Wp-Admin Dashboard with the name Super Admin which gives you access to creating new blogs and user accounts.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-MultiSite-Super-Admin.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-MultiSite-Super-Admin.png?resize=149%2C188\" alt=\"Wordpress MultiSite Super Admin\" title=\"Wordpress MultiSite Super Admin\" width=\"149\" height=\"188\" class=\"aligncenter size-full wp-image-12664\" \/><\/a><\/p>\n<p>You can click on the Sites option and then Add Site to create a new blog which is a part of the main multi site network. The themes option is important location where you will have to Enable Network Themes to make sure that these are displayed on the sub blogs for activation. Under the other options you can change the Network Name, Network Admin Email and many other options. Overall a very easy setup which wont take more than 15mins to complete and would run the blogs perfectly along with each of the different blog member handling a different blog of their own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 3.0 offers with the Mu system inbuilt and there is no need to download and install the wordpress mu script because you just need to set some settings and the blog is ready. Just upgrade your current WordPress blog to the latest version and then make sure you are logged into the Dashboard &amp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12663,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[376],"tags":[],"class_list":["post-12661","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress","entry"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Wordpress-Mu-Network-Site.png?fit=560%2C260&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":22156,"url":"https:\/\/www.amitbhawani.com\/blog\/sessions-wordpress-storing-user-data\/","url_meta":{"origin":12661,"position":0},"title":"How to Use Sessions in WordPress For Storing User Data?","author":"Guest Writers","date":"April 11, 2011","format":false,"excerpt":"It is surprising that WordPress doesn\u2019t use Sessions for storing data. It is a stateless application. So that if you want to use sessions in your custom modifications or plugins of WordPress, you just need to follow the below ideas! Idea 1: Go to the root of your blog (where\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":179,"url":"https:\/\/www.amitbhawani.com\/blog\/wordpress-plugin-generator-at-fun-with-wordpress\/","url_meta":{"origin":12661,"position":1},"title":"WordPress Plugin Generator at Fun With WordPress","author":"Amit Bhawani","date":"November 9, 2007","format":false,"excerpt":"Andrew Rickmann has launched a new website which shows some of his wordpress projects and the website is named Fun With WordPress. There are many tools at this website which are similar to the wordpress theme generator and can be used to quickly make a wordpress plugin using the wizard\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1482,"url":"https:\/\/www.amitbhawani.com\/blog\/backup-blogs-email-computer\/","url_meta":{"origin":12661,"position":2},"title":"How to Schedule Backup Blogs to Email\/Computer","author":"Amit Bhawani","date":"September 25, 2008","format":false,"excerpt":"Its very good that you have started blogging and have started making money online but taking a backup of all your data is very important as much as is the promotion of your blog. Generally most people neglect this part when they are into serious blogging and when problems like\u2026","rel":"","context":"In &quot;How to Guide&quot;","block_context":{"text":"How to Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12839,"url":"https:\/\/www.amitbhawani.com\/blog\/submit-website-bing-webmaster-tools\/","url_meta":{"origin":12661,"position":3},"title":"How to Submit Website to Bing Webmaster Tools","author":"Amit Bhawani","date":"July 26, 2010","format":false,"excerpt":"Finally Microsoft has upgraded the Webmaster Tools section of their service and is offering a list of different options available for the users. To get started you will have to access the website - http:\/\/www.bing.com\/toolbox\/webmasters\/ and click on the 'sign in to use webmaster tools' button. Next you will have\u2026","rel":"","context":"In &quot;Bing Blog&quot;","block_context":{"text":"Bing Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/bing\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Bing-Logo-White2.jpg?fit=792%2C612&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Bing-Logo-White2.jpg?fit=792%2C612&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Bing-Logo-White2.jpg?fit=792%2C612&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Bing-Logo-White2.jpg?fit=792%2C612&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":5156,"url":"https:\/\/www.amitbhawani.com\/blog\/speed-your-wordpress-blog-with-clean-options-wp-plugin\/","url_meta":{"origin":12661,"position":4},"title":"Speed your WordPress Blog with Clean Options Wp Plugin","author":"Amit Bhawani","date":"August 2, 2009","format":false,"excerpt":"If you feel that some of your wordpress plugins are not working then the answer to this would be plugins conflict and this continues even if some plugins were disabled or uninstalled and deleted because their entries are stored in the database and this can conflict and also slow down\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4450,"url":"https:\/\/www.amitbhawani.com\/blog\/remove-harmful-website-warning\/","url_meta":{"origin":12661,"position":5},"title":"Solution for &#8216;This site may harm your computer&#8217; Message","author":"Amit Bhawani","date":"May 22, 2009","format":false,"excerpt":"I run a website on seo and recently its acting weird with the following messages in google search results and when i access it. When i do a site:mywebsite.com search in google, i get a message below the search result stating that 'This site may harm your computer.' which is\u2026","rel":"","context":"In &quot;Security Blog&quot;","block_context":{"text":"Security Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/security\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Reported-Attacked-Site.png?fit=640%2C295&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Reported-Attacked-Site.png?fit=640%2C295&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Reported-Attacked-Site.png?fit=640%2C295&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/12661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/comments?post=12661"}],"version-history":[{"count":0,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/12661\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media\/12663"}],"wp:attachment":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media?parent=12661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/categories?post=12661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/tags?post=12661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}